mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-12 10:22:27 +00:00
Refactored all the backslash ref and ref() calls to use REF() instead. Added a linting for raw ref proc calls.
11 lines
447 B
Plaintext
11 lines
447 B
Plaintext
/var/create_object_html = null
|
|
|
|
/datum/admins/proc/create_object(var/mob/user)
|
|
if (!create_object_html)
|
|
var/objectjs = null
|
|
objectjs = jointext(typesof(/obj), ";")
|
|
create_object_html = file2text('html/create_object.html')
|
|
create_object_html = replacetext(create_object_html, "null /* object types */", "\"[objectjs]\"")
|
|
|
|
user << browse(replacetext(create_object_html, "/* ref src */", "[REF(src)]"), "window=create_object;size=600x600")
|