yet for all my efforts, noone will even notice this was ever here

This commit is contained in:
9600bauds
2015-03-27 23:30:41 -03:00
parent 839dd9acc6
commit 87ab7b51a3
6 changed files with 16 additions and 12 deletions

View File

@@ -37,7 +37,7 @@
user << "<span class='notice'>The target name cannot be reset!</span>"
return
else
var/str = copytext(reject_bad_text(input(user,"Enter the properly capitalized name for demotion","Set name","")),1,MAX_NAME_LEN)
var/str = copytext(reject_bad_text(input(user,"Enter the properly capitalized name for demotion","Set name","") as text|null),1,MAX_NAME_LEN)
if (!Adjacent(user) || user.stat) return
if(!str)
alert("Invalid name.")