diff --git a/src/public/user.ts b/src/public/user.ts index aedad8a..b782d62 100644 --- a/src/public/user.ts +++ b/src/public/user.ts @@ -298,8 +298,6 @@ export class UserFun { change = true; gud.headFrames[conf.id] = -1; } else if (val > 0 && gud.headFrames[conf.id] != -1) { - } - else if (val >= 0) { change = true; gud.headFrames[conf.id] = G.time + val * v; } @@ -386,7 +384,7 @@ export class UserFun { if (conf?.cond?.[0] == 'time') { let val = conf.cond[1]; - if (val == -1 && !gud.headFrames[conf.id]) { + if (val == -1) { change = true; gud.headFrames[conf.id] = -1; }