Commit 8a1471b7 authored by Sam Moore's avatar Sam Moore

Fix bug with NetworkReceiver

Player was getting None as a name string
parent 11cbf70f
......@@ -1256,7 +1256,7 @@ class NetworkSender(Player,Network):
class NetworkReceiver(Player,Network):
def __init__(self, colour, address=None):
Player.__init__(self, address, colour)
Player.__init__(self, "NetworkReceiver", colour)
self.address = address
......@@ -2633,4 +2633,4 @@ if __name__ == "__main__":
sys.exit(102)
# --- main.py --- #
# EOF - created from make on Wed Mar 27 12:38:30 WST 2013
# EOF - created from make on Wed Mar 27 12:42:42 WST 2013
......@@ -132,7 +132,7 @@ class NetworkSender(Player,Network):
class NetworkReceiver(Player,Network):
def __init__(self, colour, address=None):
Player.__init__(self, address, colour)
Player.__init__(self, "NetworkReceiver", colour)
self.address = address
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment