Merge pull request #6315 from Citadel-Station-13/kevinz000-patch-3

>wiped my flavortext accidently
This commit is contained in:
LetterJay
2018-04-09 16:36:27 -05:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ GLOBAL_VAR_INIT(miscreants_allowed, FALSE)
set desc = "Sets an extended description of your character's features."
set category = "IC"
var/new_flavor = (input(src, "Enter your new flavor text:", "Flavor text", null) as text|null)
if(new_flavor)
var/new_flavor = input(src, "Enter your new flavor text:", "Flavor text", null) as message|null
if(!isnull(new_flavor))
flavor_text = sanitize(new_flavor)
to_chat(src, "Your flavor text has been updated.")