Ship Projectiles Hard Del (#22473)

Fix for a hard del caused by overmap projectiles failing to clear their
walk cycle and timers consistently. This hard delete is relatively rare,
except in any kind of event involving ship combat....
This commit is contained in:
VMSolidus
2026-05-18 19:19:23 +00:00
committed by GitHub
parent ad97d32011
commit 6a7e13762b
2 changed files with 6 additions and 1 deletions
@@ -26,7 +26,7 @@
x = sx
y = sy
z = SSatlas.current_map.overmap_z
addtimer(CALLBACK(src, PROC_REF(move_to)), 1)
addtimer(CALLBACK(src, PROC_REF(move_to)), 1, TIMER_STOPPABLE|TIMER_DELETE_ME)
/obj/effect/overmap/projectile/Bump(var/atom/A)
if(istype(A, /turf/unsimulated/map/edge))
@@ -66,6 +66,7 @@
ammunition = null
target = null
entry_target = null
walk(src, 0)
return ..()
/obj/effect/overmap/projectile/proc/prepare_for_entry()