Fixes one of the Cancel buttons on Spawn Character not working

This commit is contained in:
Heroman
2019-08-31 05:14:30 +10:00
parent 95d6dd7eb6
commit b7ce760d6d

View File

@@ -368,7 +368,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
return
var/location = alert(src,"Please specify where to spawn them.", "Location", "Right Here", "Arrivals", "Cancel")
if(!location)
if(location == "Cancel" || !location)
return
var/announce = alert(src,"Announce as if they had just arrived?", "Announce", "Yes", "No", "Cancel")