Posibrain candidates will now be asked twice if they want to join the game

This commit is contained in:
Amunak
2014-11-28 12:41:31 +01:00
parent 2750092045
commit 44e67b3f53

View File

@@ -38,6 +38,8 @@
spawn(0)
if(!C) return
var/response = alert(C, "Someone is requesting a personality for a positronic brain. Would you like to play as one?", "Positronic brain request", "Yes", "No", "Never for this round")
if(response == "Yes")
response = alert(C, "Are you sure you want to play as a positronic brain?", "Yes", "No")
if(!C || brainmob.key || 0 == searching) return //handle logouts that happen whilst the alert is waiting for a response, and responses issued after a brain has been located.
if(response == "Yes")
transfer_personality(C.mob)