mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
MultiZ falling tweaks
This commit is contained in:
@@ -26,10 +26,9 @@
|
|||||||
if (!N)
|
if (!N)
|
||||||
return
|
return
|
||||||
|
|
||||||
// This makes sure that turfs are not changed to space when one side is part of a zone
|
|
||||||
if(N == /turf/space)
|
if(N == /turf/space)
|
||||||
var/turf/below = GetBelow(src)
|
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
|
N = /turf/simulated/open
|
||||||
|
|
||||||
var/obj/fire/old_fire = fire
|
var/obj/fire/old_fire = fire
|
||||||
|
|||||||
@@ -151,6 +151,9 @@
|
|||||||
if(!below)
|
if(!below)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if(istype(below, /turf/space))
|
||||||
|
return
|
||||||
|
|
||||||
var/turf/T = loc
|
var/turf/T = loc
|
||||||
if(!T.CanZPass(src, DOWN) || !below.CanZPass(src, DOWN))
|
if(!T.CanZPass(src, DOWN) || !below.CanZPass(src, DOWN))
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user