[s] Cleanup escalation unsafe procs (#61905)

Fixes admins spawning in atoms and datums without the DF_VAR_EDITED flag
This commit is contained in:
Jordan Brown
2021-10-06 13:12:50 +01:00
committed by GitHub
parent ee541f35df
commit 765c7840e2
6 changed files with 14 additions and 8 deletions
@@ -40,4 +40,6 @@
params.Insert(1, spawn_at.value)
spawned_atom.set_output(new typepath(arglist(params)))
var/atom/spawned = new typepath(arglist(params))
spawned.datum_flags |= DF_VAR_EDITED
spawned_atom.set_output(spawned)