fixing the stylesheet not being able to be reset and changing single-line

edit var to multi-line.
This commit is contained in:
ririchiyo
2015-01-10 19:14:50 -05:00
parent 90dd059baf
commit 6a59e73d41
2 changed files with 5 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ var/list/forbidden_varedit_object_types = list(
switch(class)
if("text")
var_value = input("Enter new text:","Text") as null|text
var_value = input("Enter new text:","Text") as null|message
if("num")
var_value = input("Enter new number:","Num") as null|num
@@ -93,7 +93,7 @@ var/list/forbidden_varedit_object_types = list(
switch(class)
if("text")
var_value = input("Enter new text:","Text") as text
var_value = input("Enter new text:","Text") as message
if("num")
var_value = input("Enter new number:","Num") as num
@@ -241,7 +241,7 @@ var/list/forbidden_varedit_object_types = list(
return
if("text")
L[L.Find(variable)] = input("Enter new text:","Text") as text
L[L.Find(variable)] = input("Enter new text:","Text") as message
if("num")
L[L.Find(variable)] = input("Enter new number:","Num") as num
@@ -443,7 +443,7 @@ var/list/forbidden_varedit_object_types = list(
return .(O.vars[variable])
if("text")
var/var_new = input("Enter new text:","Text",O.vars[variable]) as null|text
var/var_new = input("Enter new text:","Text",O.vars[variable]) as null|message
if(var_new==null) return
O.vars[variable] = var_new