mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 06:39:22 +01:00
Fix cooldown math while I'm here
This commit is contained in:
committed by
Aronai Sieyes
parent
09d0fc9f1f
commit
14e3c8a830
@@ -928,7 +928,7 @@
|
||||
return 1
|
||||
|
||||
if(href_list["nightshift"])
|
||||
if(last_nightshift_switch > world.time + 10 SECONDS) // don't spam...
|
||||
if(last_nightshift_switch > world.time - 10 SECONDS) // don't spam...
|
||||
to_chat(usr, "<span class='warning'>[src]'s night lighting circuit breaker is still cycling!</span>")
|
||||
return 0
|
||||
last_nightshift_switch = world.time
|
||||
|
||||
Reference in New Issue
Block a user