Fix for the fix!, God i hate byond code.

This commit is contained in:
Head
2012-07-28 17:46:25 +02:00
parent 3a1f30ece4
commit 04fac7a528
+1 -1
View File
@@ -195,7 +195,7 @@ steam.start() -- spawns the effect
if(src.total_sparks > 20)
return
spawn(0)
if(holder || !istype(holder,/datum))
if(holder && !istype(holder,/datum))
src.location = get_turf(holder)
var/obj/effect/effect/sparks/sparks = new /obj/effect/effect/sparks(src.location)
src.total_sparks++