mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 06:00:23 +01:00
Convert almost all alert() to tgui_alert()
This commit is contained in:
@@ -195,7 +195,7 @@
|
||||
if(ruined)
|
||||
return
|
||||
|
||||
if(alert(usr, "Do I want to rip the poster from the wall?","You think...","Yes","No") == "Yes")
|
||||
if(tgui_alert(usr, "Do I want to rip the poster from the wall?","You think...",list("Yes","No")) == "Yes")
|
||||
|
||||
if(ruined || !user.Adjacent(src))
|
||||
return
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
if(ruined)
|
||||
return
|
||||
|
||||
if(alert(usr, "Do I want to rip the poster from the wall?","You think...","Yes","No") == "Yes")
|
||||
if(tgui_alert(usr, "Do I want to rip the poster from the wall?","You think...",list("Yes","No")) == "Yes")
|
||||
|
||||
if(ruined || !user.Adjacent(src))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user