Removes a bunch of sleeps/spawns and makes a few booleans defines
This commit is contained in:
committed by
CitadelStationBot
parent
b200389630
commit
b20e5916ea
@@ -443,9 +443,12 @@
|
||||
to_chat(user, "<span class='notice'>[pictures_left] photos left.</span>")
|
||||
icon_state = "camera_off"
|
||||
on = FALSE
|
||||
spawn(64)
|
||||
icon_state = "camera"
|
||||
on = TRUE
|
||||
addtimer(CALLBACK(src, .proc/cooldown), 64)
|
||||
|
||||
/obj/item/device/camera/proc/cooldown()
|
||||
set waitfor = FALSE
|
||||
icon_state = "camera"
|
||||
on = TRUE
|
||||
|
||||
/obj/item/device/camera/siliconcam/proc/toggle_camera_mode()
|
||||
if(in_camera_mode)
|
||||
|
||||
Reference in New Issue
Block a user