Opts for the realistic route of making non-border transit turfs simply use normal space turf physics

This commit is contained in:
deathride58
2019-02-23 02:43:18 -05:00
parent 624671bca4
commit ed23ce28ee
2 changed files with 10 additions and 14 deletions

View File

@@ -22,6 +22,12 @@
SSmapping.used_turfs -= i
SSmapping.reserve_turfs(v)
/datum/turf_reservation/transit/Release()
for(var/turf/open/space/transit/T in reserved_turfs)
for(var/atom/movable/AM in T)
T.throw_atom(AM)
. = ..()
/datum/turf_reservation/proc/Reserve(width, height, zlevel)
if(width > world.maxx || height > world.maxy || width < 1 || height < 1)
return FALSE