mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Adds more multiz support (#69420)
* Adds more multiz support by making use of ``is_valid_z_level`` instead of simply checking if z is the same.
This commit is contained in:
@@ -163,7 +163,7 @@
|
||||
if(machine_stat & NOPOWER)
|
||||
return FALSE
|
||||
var/turf/zone = get_turf(src)
|
||||
if(zone.z != epicenter.z)
|
||||
if(!is_valid_z_level(zone, epicenter))
|
||||
return FALSE
|
||||
|
||||
if(next_announce > world.time)
|
||||
|
||||
Reference in New Issue
Block a user