mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +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)
|
||||
@@ -204,4 +204,4 @@ SUBSYSTEM_DEF(throwing)
|
||||
|
||||
if(hit_thing)
|
||||
finalize(hit=TRUE, t_target=hit_thing)
|
||||
return TRUE
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user