mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
[MIRROR] Adds more multiz support [MDB IGNORE] (#15957)
* 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. * Adds more multiz support Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
devastation_range, heavy_impact_range, light_impact_range, took, orig_dev_range, orig_heavy_range, orig_light_range)
|
||||
SIGNAL_HANDLER
|
||||
var/turf/wearer_turf = get_turf(mod.wearer)
|
||||
if(wearer_turf.z != epicenter.z)
|
||||
if(!is_valid_z_level(wearer_turf, epicenter))
|
||||
return
|
||||
if(get_dist(epicenter, wearer_turf) > explosion_detection_dist)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user