Runtime fixes (#2017)

changes:

Added more QDELETED checks to organ processing.
Fixed some misc runtimes in lighting & sparks.
This commit is contained in:
Lohikar
2017-03-30 22:06:24 +03:00
committed by skull132
parent 2d26596320
commit e64074c5a7
4 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
playsound(location, "sparks", 100, 1)
var/direction = 0
if (!src.spread.len)
if (src.spread && src.spread.len)
direction = 0
else
direction = pick(src.spread)