mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] remove old inputs (#10038)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f3ebea3af1
commit
965f8f4a61
@@ -202,7 +202,7 @@
|
||||
if (!length(targets))
|
||||
popup_msg(user, "No targets within range. Make sure there is a humanoid being within a 3x3 metre square in front of the interface.")
|
||||
return
|
||||
var/selected = input(user, "Choose the target.", "Petrification Target") as null|anything in targets
|
||||
var/selected = tgui_input_list(user, "Choose the target.", "Petrification Target", targets)
|
||||
if (selected && ishuman(targets[selected]) && is_valid_target(targets[selected]))
|
||||
var/confirmation = tgui_alert(targets[selected], "You have been selected as a petrification target. If you press confirm, you will possibly be turned into a statue, and if the option is selected, possibly one that cannot be reverted back from a statue at all.","Petrification Target",list("Confirm", "Cancel"))
|
||||
if (confirmation != "Confirm")
|
||||
|
||||
Reference in New Issue
Block a user