mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 21:19:44 +01:00
Normalize alert() calls
This commit is contained in:
@@ -69,13 +69,13 @@
|
||||
var/mob/living/L = user
|
||||
//They're in it, and want to get out.
|
||||
if(L.loc == src)
|
||||
var/choice = alert("Do you want to exit \the [src]?","Un-Hide?","Exit","Stay")
|
||||
var/choice = alert(usr, "Do you want to exit \the [src]?","Un-Hide?","Exit","Stay")
|
||||
if(choice == "Exit")
|
||||
if(L == hider)
|
||||
hider = null
|
||||
L.forceMove(get_turf(src))
|
||||
else if(!hider)
|
||||
var/choice = alert("Do you want to hide in \the [src]?","Un-Hide?","Hide","Stay")
|
||||
var/choice = alert(usr, "Do you want to hide in \the [src]?","Un-Hide?","Hide","Stay")
|
||||
if(choice == "Hide" && !hider) //Check again because PROMPT
|
||||
L.forceMove(src)
|
||||
hider = L
|
||||
|
||||
Reference in New Issue
Block a user