laneya

multiplayer roguelike game
git clone https://git.ce9e.org/laneya.git

commit
2d5cd49d113f50f237aa5a00cfded58eb94dc9c7
parent
02047fd2e4660a37e4e908a7ede8965d68104529
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2014-10-31 13:39
add missing return

Diffstat

M laneya/protocol.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/laneya/protocol.py b/laneya/protocol.py

@@ -280,7 +280,7 @@ class ClientProtocolFactory(Factory):
  280   280 
  281   281     def sendRequest(self, action, **kwargs):
  282   282         """Send a request and get a promise yielding the response."""
  283    -1         self.connections[-1].sendRequest(action, **kwargs)
   -1   283         return self.connections[-1].sendRequest(action, **kwargs)
  284   284 
  285   285     def updateReceived(self, action, **kwargs):
  286   286         """Overwrite this on the client implementation."""