summaryrefslogtreecommitdiff
path: root/game/script.rpy
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-15 19:30:39 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-15 19:30:39 -0300
commitc9f52fa50a9361951b03116f77bc38f5e49f4bf8 (patch)
treeb9eb88827c2672194597fe9ea14f2a244ad1c023 /game/script.rpy
parent8610f918a5ffcc047b45c5182a63a3fc6a0dd318 (diff)
downloadclient-c9f52fa50a9361951b03116f77bc38f5e49f4bf8.tar.gz
client-c9f52fa50a9361951b03116f77bc38f5e49f4bf8.tar.bz2
client-c9f52fa50a9361951b03116f77bc38f5e49f4bf8.tar.xz
client-c9f52fa50a9361951b03116f77bc38f5e49f4bf8.zip
Optimize packet flow
Diffstat (limited to 'game/script.rpy')
-rw-r--r--game/script.rpy4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/script.rpy b/game/script.rpy
index ad0e091..f5fc1af 100644
--- a/game/script.rpy
+++ b/game/script.rpy
@@ -26,7 +26,7 @@ init python:
# Same as ondata?
def onmsg(self, message):
global tr_load, tr_val, tr_busy
- stdout(message)
+ stdout("Server : " + message)
# Inform whatever is waiting for us that a reply was obtained
tr_load=True
@@ -35,7 +35,7 @@ init python:
return
def ondata(self, msg, dtype, cont):
- print("data received")
+ #print("data received")
"""
on_data: callback object which is called when a message received.
This is called before on_message or on_cont_message,