'suffix' is no longer a safe global variable name in scripts;

Drop down list for word lists stay open after clicking on a prefix choice.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@663 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-09-02 18:18:04 +00:00
parent 0157f96f9a
commit 01de02b904
7 changed files with 42 additions and 34 deletions
@@ -18,13 +18,13 @@ init script:
else "g"
) else input
}
suffix := [card: "card.jpg", textbox: "textbox.png", typeline: "typeline.png"]
template := { green_template() + suffix[type] }
template_suffix := [card: "card.jpg", textbox: "textbox.png", typeline: "typeline.png"]
template := { green_template() + template_suffix[type] }
land_template := {
(if input == "a" then (
if styling.land_style == "grey" then "e"
else "c"
) else green_template()) + "l" + suffix[type] }
) else green_template()) + "l" + template_suffix[type] }
# Use the normal tap symbol
mana_t := {