Fixes charter

This commit is contained in:
KorPhaeron
2016-06-08 21:04:01 -05:00
parent 51d7f86e6a
commit 576c215270
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -14,11 +14,11 @@
user << "The crew has already settled into the shift. It probably wouldn't be good to rename the station right now."
return
var/new_name = reject_bad_name( input(user, "What do you want to name [station_name()]? Keep in mind particularly terrible names may attract the attention of your employers.") as text|null )
var/new_name = input(user, "What do you want to name [station_name()]? Keep in mind particularly terrible names may attract the attention of your employers.") as text|null
if(new_name)
world.name = new_name
station_name = new_name
minor_announce("[user.real_name] has designated your station as [world.name]", "Captain's Charter", 0)
else
user << "<font color='red'>Invalid name. Your name should be at least 2 and at most [MAX_NAME_LEN] characters long. It may only contain the characters A-Z, a-z, -, ' and .</font>"
used = FALSE