summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-26 15:53:35 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-26 15:53:35 -0300
commit6bbea157196786727763f7220ce082d4d89fb0dc (patch)
tree803786033f8c899de24e4a40f6ce19b3a6139cbf
parentc4c487b780cf718b39dc710aed427ec1e99bd74d (diff)
downloadclient-6bbea157196786727763f7220ce082d4d89fb0dc.tar.gz
client-6bbea157196786727763f7220ce082d4d89fb0dc.tar.bz2
client-6bbea157196786727763f7220ce082d4d89fb0dc.tar.xz
client-6bbea157196786727763f7220ce082d4d89fb0dc.zip
Just wanted to remember that there is NO WAY to know if this will run in Py3
-rw-r--r--game/04_init.rpy2
-rw-r--r--game/battle.rpy2
-rw-r--r--game/inventory.rpy2
3 files changed, 3 insertions, 3 deletions
diff --git a/game/04_init.rpy b/game/04_init.rpy
index a8e7545..1b96c0d 100644
--- a/game/04_init.rpy
+++ b/game/04_init.rpy
@@ -109,7 +109,7 @@ init python:
# FIXME This is also onerror
def closed(self, code, reason=None):
- print "Closed down", code, reason
+ print("Closed down", code, reason)
if reason is None:
reason="Connection died"
if reason != "Quit":
diff --git a/game/battle.rpy b/game/battle.rpy
index accb755..105266a 100644
--- a/game/battle.rpy
+++ b/game/battle.rpy
@@ -267,7 +267,7 @@ label results:
renpy.hide("l")
renpy.hide("c")
renpy.hide("r")
- print "%s: %s" % (dial["name"], dial["message"])
+ print("%s: %s" % (dial["name"], dial["message"]))
# Background Clean up
if bg_is_showing:
renpy.hide("sbg")
diff --git a/game/inventory.rpy b/game/inventory.rpy
index 73a3db1..ef6f08a 100644
--- a/game/inventory.rpy
+++ b/game/inventory.rpy
@@ -72,7 +72,7 @@ screen inventory(blank=False, filters="True"):
#$ print(str(locals()))
python:
evl=False
- #print "---- repr"
+ #print("---- repr")
try:
alu=allunits[item["unit_id"]]
except: