Stops ghosts from being able to start plasma fires

This commit is contained in:
vuonojenmustaturska
2018-04-15 13:38:01 +03:00
committed by CitadelStationBot
parent 60a35c5270
commit da5812b07b

View File

@@ -79,7 +79,7 @@
return 1 return 1
/datum/teleport/proc/playSpecials(atom/location,datum/effect_system/effect,sound) /datum/teleport/proc/playSpecials(atom/location,datum/effect_system/effect,sound)
if(location) if(location && !isobserver(teleatom))
if(effect) if(effect)
INVOKE_ASYNC(src, .proc/do_effect, location, effect) INVOKE_ASYNC(src, .proc/do_effect, location, effect)
if(sound) if(sound)