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