mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 00:55:20 +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:
@@ -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