summaryrefslogtreecommitdiff
path: root/game/03_init.rpy
diff options
context:
space:
mode:
Diffstat (limited to 'game/03_init.rpy')
-rw-r--r--game/03_init.rpy6
1 files changed, 4 insertions, 2 deletions
diff --git a/game/03_init.rpy b/game/03_init.rpy
index 8b31059..352878b 100644
--- a/game/03_init.rpy
+++ b/game/03_init.rpy
@@ -54,11 +54,12 @@ init python:
}""" % (json.dumps(u), json.dumps(s), json.dumps(a), now())
def square_composite(cid, path, ei=False):
+ global allunits
# We need to try to get rarity
try:
r=allunits[int(cid)]["rare"]
except:
- r=4 # FIXME
+ r=8 # FIXME: Also, is allunits already initialized?
# We need to try to get the element
try:
@@ -82,11 +83,12 @@ init python:
(0, 0), "gfx/square/ele_%d.png" % e)
def card_composite(cid, path, ei=False):
+ global allunits
# We need to try to get rarity
try:
r=allunits[int(cid)]["rare"]
except:
- r=4 # FIXME
+ r=8 # FIXME: Also, is allunits already initialized?
# We need to try to get the element
try: