home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid Thing collisions.
[plomrogue2-experiments]
/
server.py
diff --git
a/server.py
b/server.py
index 5847a5439982ecaa02f1673e0cceed948afd75c1..7e2d80dc67b2d2f8cd5f1f332b1755588a1cdf8f 100755
(executable)
--- a/
server.py
+++ b/
server.py
@@
-180,6
+180,8
@@
class CommandHandler(game_common.Commander, server_.game.Commander):
"""
self.send_all('TURN_FINISHED ' + str(self.world.turn))
self.world.proceed_to_next_player_turn()
"""
self.send_all('TURN_FINISHED ' + str(self.world.turn))
self.world.proceed_to_next_player_turn()
+ msg = str(self.world.get_player().last_task_result)
+ self.send_all('LAST_PLAYER_TASK_RESULT ' + msg)
self.send_all_gamestate()
def cmd_FIB(self, numbers, connection_id):
self.send_all_gamestate()
def cmd_FIB(self, numbers, connection_id):