mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 16:48:12 +01:00
fix server crash on egg laying (#12318)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user