mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
/obj/admins is now /datum/admins because that's what datums are for you silly people Moved var/datum/marked_datum from /obj/ to /datum/admins admin datums are persistent throughout the round. They are stored in the var/list/admins rather than the ranks. This is so admin preferences may be moved into the datum to have them persist even after Login/Logout/Disconnects. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4749 316c924e-a436-60f5-8080-3fe189b3f50e
10 lines
443 B
Plaintext
10 lines
443 B
Plaintext
/var/create_turf_html = null
|
|
/datum/admins/proc/create_turf(var/mob/user)
|
|
if (!create_turf_html)
|
|
var/turfjs = null
|
|
turfjs = dd_list2text(typesof(/turf), ";")
|
|
create_turf_html = file2text('html/create_object.html')
|
|
create_turf_html = dd_replacetext(create_turf_html, "null /* object types */", "\"[turfjs]\"")
|
|
|
|
user << browse(dd_replacetext(create_turf_html, "/* ref src */", "\ref[src]"), "window=create_turf;size=425x475")
|