Space vines can no longer spread on transit turfs (#1026)
This commit is contained in:
committed by
Poojawa
parent
3e26a2d60f
commit
7a66ea60fb
@@ -555,6 +555,10 @@
|
||||
/obj/structure/spacevine/proc/spread()
|
||||
var/direction = pick(GLOB.cardinal)
|
||||
var/turf/stepturf = get_step(src,direction)
|
||||
|
||||
if(istype(stepturf, /turf/open/space/transit))
|
||||
return
|
||||
|
||||
for(var/datum/spacevine_mutation/SM in mutations)
|
||||
SM.on_spread(src, stepturf)
|
||||
stepturf = get_step(src,direction) //in case turf changes, to make sure no runtimes happen
|
||||
|
||||
Reference in New Issue
Block a user