Fixes a bug in processing lights of deleted atoms.

This commit is contained in:
MrStonedOne
2017-05-07 12:40:52 -07:00
parent bd720fff96
commit ce7878d7b9

View File

@@ -200,7 +200,7 @@
/datum/light_source/proc/update_corners()
var/update = FALSE
if (!source_atom)
if (!source_atom || QDELETED(source_atom))
qdel(src)
return