diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-26 15:51:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-26 15:51:03 -0300 |
commit | c4c487b780cf718b39dc710aed427ec1e99bd74d (patch) | |
tree | a3f2483b86bd95fd63f1431ee9fc2d86fbb4a65d /game/units.rpy | |
parent | af49463d61ecaf314170fab707a5206ff902425d (diff) | |
download | client-c4c487b780cf718b39dc710aed427ec1e99bd74d.tar.gz client-c4c487b780cf718b39dc710aed427ec1e99bd74d.tar.bz2 client-c4c487b780cf718b39dc710aed427ec1e99bd74d.tar.xz client-c4c487b780cf718b39dc710aed427ec1e99bd74d.zip |
Some optimizations to be more Python3 compliant (for when Renpy 8 comes out)
Also, fix an edge scenario crash at tavern and a missed logging at battle story log
Diffstat (limited to 'game/units.rpy')
-rw-r--r-- | game/units.rpy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/game/units.rpy b/game/units.rpy index 74c9bf0..82fc834 100644 --- a/game/units.rpy +++ b/game/units.rpy @@ -20,12 +20,12 @@ init python: def evocheck(level, unit): # Does an evolved form exist? - print "evocheck lv %d" % level + #print("evocheck lv %d" % level) try: nu=unit["unit_id"]+1 - #print "nu is: %d" % int(nu) + #print("nu is: %d" % int(nu)) next_name=allunits[nu]["name"] - #print "next name: %s" % next_name + #print("next name: %s" % next_name) except: return False |