Stops shuttles from bringing background turfs with them. (#15580)

This commit is contained in:
Matt Atlas
2023-01-20 14:52:01 +01:00
committed by GitHub
parent 7caa069c9b
commit 25fd3ba098
91 changed files with 230 additions and 90 deletions
@@ -99,7 +99,7 @@
/obj/effect/dummy/spell_jaunt/relaymove(var/mob/user, direction)
if (!src.canmove || reappearing) return
var/turf/newLoc = get_step(src,direction)
if(!(newLoc.flags & NOJAUNT))
if(!(newLoc.turf_flags & TURF_FLAG_NOJAUNT))
loc = newLoc
var/turf/T = get_turf(loc)
if(!T.contains_dense_objects())