home · contact · privacy
Fix invalid admin state upon re-login.
[plomrogue2] / rogue_chat_curses.py
index 65d5a339c013558cde62127d4ba8264f6d8b16f7..9d2ab3befde074db274e23349703dba0f5691b07 100755 (executable)
@@ -623,6 +623,7 @@ class TUI:
             self.disconnected = False
             self.game.thing_types = {}
             self.game.terrains = {}
+            self.is_admin = False
             time.sleep(0.1)  # give potential SSL negotation some time …
             self.socket.send('TASKS')
             self.socket.send('TERRAINS')
@@ -706,6 +707,8 @@ class TUI:
             self.log_msg('@ finished tile protection drawing.')
         self.draw_face = False
         self.tile_draw = False
+        self.ascii_draw_stage = 0
+        self.full_ascii_draw = ''
         if mode_name == 'command_thing' and\
            (not self.game.player.carrying or
             not self.game.player.carrying.commandable):