mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +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.speed = speed
|
||||||
src.thrower = thrower
|
src.thrower = thrower
|
||||||
src.callback = callback
|
src.callback = callback
|
||||||
if(!QDELETED(thrower))
|
if(!QDELETED(thrower) && ismob(thrower))
|
||||||
src.target_zone = thrower.zone_sel ? thrower.zone_sel.selecting : null
|
src.target_zone = thrower.zone_sel ? thrower.zone_sel.selecting : null
|
||||||
|
|
||||||
dist_x = abs(target.x - thrownthing.x)
|
dist_x = abs(target.x - thrownthing.x)
|
||||||
|
|||||||
Reference in New Issue
Block a user