mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 16:48:12 +01:00
[MIRROR] default tgui alert input handling (#8891)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
co-authored by
Kashargul
Kashargul
parent
ec8834f9e5
commit
9f42148ab1
@@ -116,6 +116,8 @@
|
||||
var/unique
|
||||
if (varsvars && varsvars.len)
|
||||
unique = tgui_alert(usr, "Process vars unique to each instance, or same for all?", "Variable Association", list("Unique", "Same"))
|
||||
if(!unique)
|
||||
return
|
||||
if(unique == "Unique")
|
||||
unique = TRUE
|
||||
else
|
||||
@@ -143,7 +145,7 @@
|
||||
|
||||
if (VV_NEW_TYPE)
|
||||
var/many = tgui_alert(src, "Create only one [value["type"]] and assign each or a new one for each thing", "How Many", list("One", "Many", "Cancel"))
|
||||
if (many == "Cancel")
|
||||
if (!many || many == "Cancel")
|
||||
return
|
||||
if (many == "Many")
|
||||
many = TRUE
|
||||
|
||||
Reference in New Issue
Block a user