mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
cooldown actions isavailable now calls parent pro (#17889)
This commit is contained in:
@@ -731,7 +731,9 @@
|
||||
button.maptext_height = 12
|
||||
|
||||
/datum/action/cooldown/IsAvailable()
|
||||
return next_use_time <= world.time
|
||||
if(next_use_time > world.time)
|
||||
return FALSE
|
||||
return ..()
|
||||
|
||||
/datum/action/cooldown/proc/StartCooldown()
|
||||
next_use_time = world.time + cooldown_time
|
||||
|
||||
Reference in New Issue
Block a user