Dynamic Drone reboot text

This time based on `alert('ERROR: An error occurred while loading the UI: ' + error.message);`
Which is actually the correct proc
This commit is contained in:
Sharkmare
2019-03-05 13:26:26 +01:00
committed by GitHub
parent 12fef0aa80
commit 9c580777c4
@@ -319,7 +319,7 @@ var/list/mob_hat_cache = list()
/mob/living/silicon/robot/drone/proc/question(var/client/C)
spawn(0)
if(!C || jobban_isbanned(C,"Cyborg")) return
var/response = alert(C, "Someone is attempting to reboot a maintenance drone. Would you like to play as one?", "Maintenance drone reboot", "Yes", "No", "Never for this round")
var/response = alert(C, "Someone is attempting to reboot a "+src+". Would you like to play as one?", src+" reboot", "Yes", "No", "Never for this round")
if(!C || ckey)
return
if(response == "Yes")