mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
Fixes #2830
Applied Walter0o's fix to silicon namepicking locking up job spawn on roundstart.
This commit is contained in:
@@ -210,14 +210,14 @@
|
|||||||
/mob/living/silicon/robot/verb/Namepick()
|
/mob/living/silicon/robot/verb/Namepick()
|
||||||
if(custom_name)
|
if(custom_name)
|
||||||
return 0
|
return 0
|
||||||
|
spawn(0)
|
||||||
|
var/newname
|
||||||
|
newname = input(src,"You are a robot. Enter a name, or leave blank for the default name.", "Name change","") as text
|
||||||
|
if (newname != "")
|
||||||
|
custom_name = newname
|
||||||
|
|
||||||
var/newname
|
updatename("Default")
|
||||||
newname = input(src,"You are a robot. Enter a name, or leave blank for the default name.", "Name change","") as text
|
updateicon()
|
||||||
if (newname != "")
|
|
||||||
custom_name = newname
|
|
||||||
|
|
||||||
updatename("Default")
|
|
||||||
updateicon()
|
|
||||||
|
|
||||||
/mob/living/silicon/robot/verb/cmd_robot_alerts()
|
/mob/living/silicon/robot/verb/cmd_robot_alerts()
|
||||||
set category = "Robot Commands"
|
set category = "Robot Commands"
|
||||||
|
|||||||
Reference in New Issue
Block a user