mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
MultiZ falling tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user