Events ported, now for cleanup if needed.

This commit is contained in:
Neerti
2020-03-26 03:20:16 -04:00
parent dd2edef196
commit f5383410ea
51 changed files with 2325 additions and 312 deletions
+2
View File
@@ -520,6 +520,8 @@ var/global/list/light_type_cache = list()
if(status != LIGHT_OK) break
on = !on
update(0)
if(!on) // Only play when the light turns off.
playsound(src, 'sound/effects/light_flicker.ogg', 50, 1)
sleep(rand(5, 15))
on = (status == LIGHT_OK)
update(0)