Projectiles delete on invalid turf (#36073)
This commit is contained in:
committed by
CitadelStationBot
parent
7bb63b0a21
commit
0905f68bbc
@@ -419,6 +419,9 @@
|
||||
transform = M
|
||||
trajectory.increment(trajectory_multiplier)
|
||||
var/turf/T = trajectory.return_turf()
|
||||
if(!istype(T))
|
||||
qdel(src)
|
||||
return
|
||||
if(T.z != loc.z)
|
||||
var/old = loc
|
||||
before_z_change(loc, T)
|
||||
|
||||
Reference in New Issue
Block a user