mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-10 00:43:14 +00:00
[MIRROR] [s] Cleanup escalation unsafe procs [MDB IGNORE] (#8642)
* [s] Cleanup escalation unsafe procs (#61905) Fixes admins spawning in atoms and datums without the DF_VAR_EDITED flag * [s] Cleanup escalation unsafe procs Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
This commit is contained in:
@@ -85,7 +85,10 @@
|
||||
return min(arglist(args))
|
||||
|
||||
/proc/_new(type, arguments)
|
||||
return new type (arglist(arguments))
|
||||
var/datum/result = new type(arglist(arguments))
|
||||
if(istype(result))
|
||||
result.datum_flags |= DF_VAR_EDITED
|
||||
return result
|
||||
|
||||
/proc/_num2text(N, SigFig = 6)
|
||||
return num2text(N, SigFig)
|
||||
|
||||
Reference in New Issue
Block a user