mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Fixes charter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user