mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Renames COOLDOWN_CHECK, fixes some uses (#51763)
This commit is contained in:
@@ -537,7 +537,7 @@
|
||||
if(!isturf(owner.loc)) //Don't let the player use this to escape mechs/welded closets.
|
||||
to_chat(owner, "<span class='warning'>You need more space to activate this implant!</span>")
|
||||
return
|
||||
if(COOLDOWN_CHECK(src, box_cooldown))
|
||||
if(!COOLDOWN_FINISHED(src, box_cooldown))
|
||||
return
|
||||
COOLDOWN_START(src, box_cooldown, 10 SECONDS)
|
||||
var/box = new boxtype(owner.drop_location())
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
damage *= 0.75
|
||||
|
||||
|
||||
if(!COOLDOWN_CHECK(src, caltrop_cooldown))
|
||||
if(COOLDOWN_FINISHED(src, caltrop_cooldown))
|
||||
COOLDOWN_START(src, caltrop_cooldown, 1 SECONDS) //cooldown to avoid message spam.
|
||||
var/atom/A = parent
|
||||
if(!H.incapacitated(ignore_restraints = TRUE))
|
||||
|
||||
Reference in New Issue
Block a user