home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix invalid admin state upon re-login.
[plomrogue2]
/
rogue_chat_curses.py
diff --git
a/rogue_chat_curses.py
b/rogue_chat_curses.py
index 65d5a339c013558cde62127d4ba8264f6d8b16f7..9d2ab3befde074db274e23349703dba0f5691b07 100755
(executable)
--- a/
rogue_chat_curses.py
+++ b/
rogue_chat_curses.py
@@
-623,6
+623,7
@@
class TUI:
self.disconnected = False
self.game.thing_types = {}
self.game.terrains = {}
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')
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.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):
if mode_name == 'command_thing' and\
(not self.game.player.carrying or
not self.game.player.carrying.commandable):