This commit is contained in:
PJB3005
2017-02-08 15:07:58 +01:00
parent 8ce6ae2b87
commit 3c8b98a3aa
12 changed files with 19 additions and 41 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
// Creates or destroys it if needed, makes it update values, makes sure it's got the correct source turf...
/atom/proc/update_light()
set waitfor = FALSE
if (qdeleted(src))
if (QDELETED(src))
return
if (!light_power || !light_range) // We won't emit light anyways, destroy the light source.