testvar seems not to work
All checks were successful
/ test (push) Successful in 21s

This commit is contained in:
Johan Lundberg 2025-04-10 23:24:11 +02:00
parent f3b1e1b841
commit e19f169f43
2 changed files with 3 additions and 12 deletions

View file

@ -139,7 +139,7 @@ STATE: {Default} ~~ {
DoExpr {setvar[lootclock,stopwatchcreate[]]}
DoExpr {stopwatchstart[getvar[lootclock]]}
SetState {hunt}
IF: Not Expr {testvar[lootTime]}
IF: Expr {getvar[lootTime] == 0}
DO: DoExpr {setvar[lootTime, 21600]}
~~ }
STATE: {avoid_portal} ~~ {