mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
earlyport fix for vendor throwing runtime spam
chenity sacks
This commit is contained in:
@@ -67,7 +67,7 @@ SUBSYSTEM_DEF(throwing)
|
||||
src.speed = speed
|
||||
src.thrower = thrower
|
||||
src.callback = callback
|
||||
if(!QDELETED(thrower))
|
||||
if(!QDELETED(thrower) && ismob(thrower))
|
||||
src.target_zone = thrower.zone_sel ? thrower.zone_sel.selecting : null
|
||||
|
||||
dist_x = abs(target.x - thrownthing.x)
|
||||
|
||||
Reference in New Issue
Block a user