diff --git a/code/modules/admin/create_object.dm b/code/modules/admin/create_object.dm index 7a7fb3130b7..babef40af2a 100644 --- a/code/modules/admin/create_object.dm +++ b/code/modules/admin/create_object.dm @@ -9,7 +9,7 @@ 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]\"") + create_object_html = replacetext(create_object_html, "null; /* object types */", "\"[objectjs]\";") user << browse(create_panel_helper(create_object_html), "window=create_object;size=425x475") @@ -26,7 +26,7 @@ var/objectjs = jointext(typesof(path), ";") html_form = file2text('html/create_object.html') html_form = replacetext(html_form, "Create Object", "Create [path]") - html_form = replacetext(html_form, "null /* object types */", "\"[objectjs]\"") + html_form = replacetext(html_form, "null; /* object types */", "\"[objectjs]\";") create_object_forms[path] = html_form user << browse(create_panel_helper(html_form), "window=qco[path];size=425x475")