|
@@ -213,7 +213,7 @@ class CIMPortReport(object):
|
|
self.game.to_player = self.to_player
|
|
self.game.to_player = self.to_player
|
|
self.observer.load(self.save)
|
|
self.observer.load(self.save)
|
|
self.save = None
|
|
self.save = None
|
|
-
|
|
|
|
|
|
+ self.game.portdata = self.portdata
|
|
self.queue_game.put("\b \b\r\n")
|
|
self.queue_game.put("\b \b\r\n")
|
|
|
|
|
|
if not self.defer is None:
|
|
if not self.defer is None:
|
|
@@ -312,6 +312,11 @@ class ProxyMenu(object):
|
|
self.queue_game = game.queue_game
|
|
self.queue_game = game.queue_game
|
|
self.observer = game.observer
|
|
self.observer = game.observer
|
|
|
|
|
|
|
|
+ if hasattr(self.game, "portdata"):
|
|
|
|
+ self.portdata = self.game.portdata
|
|
|
|
+ else:
|
|
|
|
+ self.portdata = {}
|
|
|
|
+
|
|
# Yes, at this point we would activate
|
|
# Yes, at this point we would activate
|
|
self.prompt = game.buffer
|
|
self.prompt = game.buffer
|
|
self.save = self.observer.save()
|
|
self.save = self.observer.save()
|
|
@@ -384,6 +389,9 @@ class ProxyMenu(object):
|
|
d.addCallback(self.port_report)
|
|
d.addCallback(self.port_report)
|
|
d.addErrback(self.welcome_back)
|
|
d.addErrback(self.welcome_back)
|
|
return
|
|
return
|
|
|
|
+ elif key == "S":
|
|
|
|
+ self.queue_game.put(self.c + key + self.r + self.nl)
|
|
|
|
+
|
|
elif key == "D":
|
|
elif key == "D":
|
|
self.queue_game.put(self.c + key + self.r + self.nl)
|
|
self.queue_game.put(self.c + key + self.r + self.nl)
|
|
self.queue_game.put(pformat(self.portdata).replace("\n", "\n\r") + self.nl)
|
|
self.queue_game.put(pformat(self.portdata).replace("\n", "\n\r") + self.nl)
|