fix server crash on egg laying (#12318)

This commit is contained in:
Kashargul
2026-01-24 17:34:25 +01:00
committed by GitHub
parent d64306aa5c
commit efb73ab369
15 changed files with 27 additions and 27 deletions
@@ -79,7 +79,7 @@
if(rimplant.cascade)
to_chat(src, span_notice("You feel your legs quake as your muscles fail to stand strong!"))
while(rimplant.reagents.total_volume >= rimplant.transfer_amount)
if(do_after(src,30))
if(do_after(src,30,src))
src.SetStunned(3)
playsound(src,'sound/vore/insert.ogg',50,1)
src.apply_effect(10,STUTTER,0)
+1 -1
View File
@@ -88,7 +88,7 @@
healthcheck()
return
if(locate(/obj/item/organ/internal/xenos/resinspinner/replicant) in M.internal_organs)
if(!do_after(M, 3 SECONDS))
if(!do_after(M, 3 SECONDS, src))
return
visible_message (span_warning("[usr] strokes the [name] and it melts away!"), 1)
health = 0