MultiZ falling tweaks

This commit is contained in:
Anewbe
2018-08-04 23:32:04 -05:00
parent 8410891af8
commit a13783945f
2 changed files with 4 additions and 2 deletions

View File

@@ -26,10 +26,9 @@
if (!N)
return
// This makes sure that turfs are not changed to space when one side is part of a zone
if(N == /turf/space)
var/turf/below = GetBelow(src)
if(istype(below) && (air_master.has_valid_zone(below) || air_master.has_valid_zone(src)))
if(istype(below) && !istype(below,/turf/space))
N = /turf/simulated/open
var/obj/fire/old_fire = fire

View File

@@ -151,6 +151,9 @@
if(!below)
return
if(istype(below, /turf/space))
return
var/turf/T = loc
if(!T.CanZPass(src, DOWN) || !below.CanZPass(src, DOWN))
return