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
@@ -25,7 +25,7 @@
oocnotes = 1
to_chat(src, span_notify("You begin to reform. You will need to remain still."))
visible_message(span_notify("[src] rapidly contorts and shifts!"), span_danger("You begin to reform."))
if (do_after(src, 4 SECONDS))
if (do_after(src, 4 SECONDS, src))
if (client?.prefs)
client.prefs.vanity_copy_to(src, FALSE, flavour, oocnotes, FALSE)
visible_message(span_notify("[src] adopts a new form!"), span_danger("You have reformed."))
@@ -18,7 +18,7 @@
var/obj/O
if(do_after(src, xeno_build_time))
if(do_after(src, xeno_build_time, src))
switch(choice)
if("Resin Door")
O = new /obj/structure/simple_door/resin(targetLoc)