mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Bitfields do not work that way.
Fix attempt to use `in` on a non-list.
This commit is contained in:
@@ -166,7 +166,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(can_fire && !(SS_NO_FIRE in flags))
|
if(can_fire && !(SS_NO_FIRE & flags))
|
||||||
msg = "[round(cost,1)]ms|[round(tick_usage,1)]%|[round(ticks,0.1)]\t[msg]"
|
msg = "[round(cost,1)]ms|[round(tick_usage,1)]%|[round(ticks,0.1)]\t[msg]"
|
||||||
else
|
else
|
||||||
msg = "OFFLINE\t[msg]"
|
msg = "OFFLINE\t[msg]"
|
||||||
|
|||||||
Reference in New Issue
Block a user