Revert "TGUI alerts, lists, inputs"
This commit is contained in:
@@ -117,11 +117,11 @@
|
||||
if(!choice)
|
||||
return
|
||||
if(!ispath(choice))
|
||||
tgui_alert(owner, "Invalid item", OUTFIT_EDITOR_NAME, "oh no")
|
||||
alert(owner, "Invalid item", OUTFIT_EDITOR_NAME, "oh no")
|
||||
return
|
||||
if(initial(choice.icon_state) == null) //hacky check copied from experimentor code
|
||||
var/msg = "Warning: This item's icon_state is null, indicating it is very probably not actually a usable item."
|
||||
if(tgui_alert(owner, msg, OUTFIT_EDITOR_NAME, list("Use it anyway", "Cancel")) != "Use it anyway")
|
||||
if(alert(owner, msg, OUTFIT_EDITOR_NAME, "Use it anyway", "Cancel") != "Use it anyway")
|
||||
return
|
||||
|
||||
if(drip.vars.Find(slot))
|
||||
|
||||
Reference in New Issue
Block a user