home · contact · privacy
Improve player error messages, and log them to clients.
[plomrogue2] / rogue_chat_curses.py
index 99400941f09e3ef9b30b4660b3e4e9b24f4953a5..2dfbdd1b6b76772877ac47b9db7c04b4e199e919 100755 (executable)
@@ -138,6 +138,7 @@ def cmd_PORTAL(game, position, msg):
 cmd_PORTAL.argtypes = 'yx_tuple:nonneg string'
 
 def cmd_PLAY_ERROR(game, msg):
+    game.tui.log_msg('? ' + msg)
     game.tui.flash()
     game.tui.do_refresh = True
 cmd_PLAY_ERROR.argtypes = 'string'