Revert "Allows admins to pass parameters to New() (#26613)"

This reverts commit 9d0185c023.
This commit is contained in:
Cyberboss
2017-05-04 15:37:06 -04:00
parent cfdf3496fe
commit e8656e9eae
5 changed files with 8 additions and 61 deletions
+2 -2
View File
@@ -145,8 +145,8 @@ GLOBAL_PROTECT(AdminProcCallCount)
/client/proc/get_callproc_args(is_atom_new = FALSE)
var/argnum = input("Number of arguments[is_atom_new ? " (Excluding loc)" : ""]","Number:",0) as num|null
/client/proc/get_callproc_args()
var/argnum = input("Number of arguments","Number:",0) as num|null
if(isnull(argnum))
return
+3 -23
View File
@@ -213,14 +213,7 @@ GLOBAL_PROTECT(VVpixelmovement)
.["class"] = null
return
.["type"] = type
var/list/arguments
if(alert(usr, "Would you like to add arguments?", "New Atom", "No", "Yes") == "Yes")
arguments = get_callproc_args(FALSE)
else
arguments = list()
.["value"] = new type(arglist(arguments))
.["value"] = new type()
if (VV_NEW_DATUM)
var/type = pick_closest_path(FALSE, get_fancy_list_of_datum_types())
@@ -228,13 +221,7 @@ GLOBAL_PROTECT(VVpixelmovement)
.["class"] = null
return
.["type"] = type
var/list/arguments
if(alert(usr, "Would you like to add arguments?", "New Atom", "No", "Yes") == "Yes")
arguments = get_callproc_args(FALSE)
else
arguments = list()
.["value"] = new type(arglist(arguments))
.["value"] = new type()
if (VV_NEW_TYPE)
var/type = current_value
@@ -250,14 +237,7 @@ GLOBAL_PROTECT(VVpixelmovement)
.["class"] = null
return
.["type"] = type
var/list/arguments
if(alert(usr, "Would you like to add arguments?", "New Atom", "No", "Yes") == "Yes")
arguments = get_callproc_args(FALSE);
else
arguments = list()
.["value"] = new type(arglist(arguments))
.["value"] = new type()
if (VV_NEW_LIST)