mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
[MIRROR] fixes qdeling atoms being thrown by explosions [MDB IGNORE] (#15979)
* fixes qdeling atoms being thrown by explosions (#69604) fixes the Qdeleted thing being thrown around. runtimes spamming the shit out of the logs * fixes qdeling atoms being thrown by explosions Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
This commit is contained in:
@@ -752,6 +752,8 @@ SUBSYSTEM_DEF(explosions)
|
||||
var/throw_dir = L[2]
|
||||
var/max_range = L[3]
|
||||
for(var/atom/movable/A in T)
|
||||
if(QDELETED(A))
|
||||
continue
|
||||
if(!A.anchored && A.move_resist != INFINITY)
|
||||
var/atom_throw_range = rand(throw_range, max_range)
|
||||
var/turf/throw_at = get_ranged_target_turf(A, throw_dir, atom_throw_range)
|
||||
|
||||
Reference in New Issue
Block a user