From 770c50ef955eac54e7a9d73215fff6001dcff756 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 24 Feb 2012 17:39:46 -0500 Subject: [PATCH] Go "Huh?" on a command that doesn't match the current game options. Solves the problem with 'status' making the curses version crap out. All regression tests pass. --- sst.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sst.py b/sst.py index b1ab2f3..b34801a 100755 --- a/sst.py +++ b/sst.py @@ -6007,6 +6007,8 @@ def makemoves(): if cmd == "": listCommands() continue + elif opt and not (opt & game.options): + huh() else: break if cmd == "SRSCAN": # srscan -- 2.31.1