Fixes round start delay caused by borg name picking code (#8462)

Great meme.
This commit is contained in:
Alberyk
2020-03-16 19:24:44 +01:00
committed by GitHub
parent ed7936a039
commit e4a8d7d451
2 changed files with 14 additions and 7 deletions
@@ -383,14 +383,15 @@
if(custom_name)
return FALSE
var/newname
newname = sanitizeSafe(input(src, "You are a robot. Enter a name, or leave blank for the default name.", "Name change") as text, MAX_NAME_LEN)
if(newname)
custom_name = newname
spawn(0)
var/newname
newname = sanitizeSafe(input(src, "You are a robot. Enter a name, or leave blank for the default name.", "Name change") as text, MAX_NAME_LEN)
if(newname)
custom_name = newname
updatename()
updateicon()
SSrecords.reset_manifest()
updatename()
updateicon()
SSrecords.reset_manifest()
// this verb lets cyborgs see the stations manifest
/mob/living/silicon/robot/verb/cmd_station_manifest()