summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/04_init.rpy6
1 files changed, 3 insertions, 3 deletions
diff --git a/game/04_init.rpy b/game/04_init.rpy
index 7cbf54a..b5449f5 100644
--- a/game/04_init.rpy
+++ b/game/04_init.rpy
@@ -23,16 +23,16 @@ init python:
# Same as ondata?
def onmsg(self, message):
global tr_load, tr_val, tr_busy
- stdout("Server : " + message)
+ stdout("Server : " + str(message))
# Inform whatever is waiting for us that a reply was obtained
tr_load=True
- tr_val=str(received)
+ tr_val=str(message)
# We do not clean tr_busy here
return
def ondata(self, msg, dtype, cont):
- #print("data received")
+ #print("INFO: data received\n")
"""
on_data: callback object which is called when a message received.
This is called before on_message or on_cont_message,