mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
🔦 Use COOLDOWN defines for paramedic penlights
Uses the new COOLDOWN_ defines for the penlight's cooldown, which functions exactly the same as the `world.time` code, but is slightly cleaner and less prone to mistakes.
This commit is contained in:
@@ -188,7 +188,7 @@
|
||||
desc = "A high-powered UV penlight intended to help stave off infection in the field on serious burned patients. Probably really bad to look into."
|
||||
icon_state = "penlight_surgical"
|
||||
/// Our current UV cooldown
|
||||
var/uv_cooldown = 0
|
||||
COOLDOWN_DECLARE(uv_cooldown)
|
||||
/// How long between UV fryings
|
||||
var/uv_cooldown_length = 1 MINUTES
|
||||
/// How much sanitization to apply to the burn wound
|
||||
|
||||
Reference in New Issue
Block a user