[MIRROR] TGUI list input conversions [MDB IGNORE] (#9996)

* TGUI list input conversions (#63315)

Co-authored-by: tralezab <40974010+tralezab@ users.noreply.github.com>
Co-authored-by: Sealed101 <75863639+Sealed101@ users.noreply.github.com>

* TGUI list input conversions

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: tralezab <40974010+tralezab@ users.noreply.github.com>
Co-authored-by: Sealed101 <75863639+Sealed101@ users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-12-10 18:10:25 +00:00
committed by GitHub
co-authored by tralezab Sealed101 Jeremiah
parent fb031dcaa8
commit d604846209
30 changed files with 49 additions and 46 deletions
+1 -1
View File
@@ -258,7 +258,7 @@
stack_trace("[type] - [cultist] attempted to scribe a rune, but the global rune list is empty!")
return FALSE
entered_rune_name = input(cultist, "Choose a rite to scribe.", "Sigils of Power") as null|anything in GLOB.rune_types
entered_rune_name = tgui_input_list(cultist, "Choose a rite to scribe", "Sigils of Power", GLOB.rune_types)
if(!entered_rune_name || !can_scribe_rune(tool, cultist))
return FALSE