alert windows that close themselves after enough time.

This commit is contained in:
d3athrow
2014-07-23 08:49:42 -04:00
committed by ZomgPonies
parent d21cf838d7
commit e93220cfd0
3 changed files with 39 additions and 1 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ client/proc/one_click_antag()
for(var/mob/G in respawnable_list)
if(!jobban_isbanned(G, "wizard") && !jobban_isbanned(G, "Syndicate"))
spawn(0)
switch(alert(G, "Do you wish to be considered for the position of Space Wizard Foundation 'diplomat'?","Please answer in 30 seconds!","Yes","No"))
switch(G.timed_alert("Do you wish to be considered for the position of Space Wizard Foundation 'diplomat'?","Please answer in 30 seconds!","No",300,"Yes","No"))//alert(G, "Do you wish to be considered for the position of Space Wizard Foundation 'diplomat'?","Please answer in 30 seconds!","Yes","No"))
if("Yes")
if((world.time-time_passed)>300)//If more than 30 game seconds passed.
return