mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-17 05:31:53 +00:00
Fix timing error that allowed processing to reference a nulled list.
This commit is contained in:
@@ -441,15 +441,15 @@
|
|||||||
setAngle(Get_Angle(source, target))
|
setAngle(Get_Angle(source, target))
|
||||||
|
|
||||||
/obj/item/projectile/Destroy()
|
/obj/item/projectile/Destroy()
|
||||||
|
if(hitscan)
|
||||||
|
finalize_hitscan_and_generate_tracers()
|
||||||
|
STOP_PROCESSING(SSprojectiles, src)
|
||||||
|
|
||||||
if(impacted_mobs)
|
if(impacted_mobs)
|
||||||
if(LAZYLEN(impacted_mobs))
|
if(LAZYLEN(impacted_mobs))
|
||||||
impacted_mobs.Cut()
|
impacted_mobs.Cut()
|
||||||
impacted_mobs = null
|
impacted_mobs = null
|
||||||
|
|
||||||
if(hitscan)
|
|
||||||
finalize_hitscan_and_generate_tracers()
|
|
||||||
STOP_PROCESSING(SSprojectiles, src)
|
|
||||||
qdel(trajectory)
|
qdel(trajectory)
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user