From 5c8d5c26b413e0484a32868df597838acc4f23ed Mon Sep 17 00:00:00 2001 From: Joe R Date: Mon, 17 Feb 2025 20:49:25 -0500 Subject: [PATCH] Cleanup --- html-src/rules/accordionsrevenge.html | 4 ++-- pysollib/gamedb.py | 2 +- pysollib/ui/tktile/menubar.py | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/html-src/rules/accordionsrevenge.html b/html-src/rules/accordionsrevenge.html index fb69e5ba5b..f8d404e7d0 100644 --- a/html-src/rules/accordionsrevenge.html +++ b/html-src/rules/accordionsrevenge.html @@ -15,7 +15,7 @@

Quick Description

Notes

Accordion's Revenge is unwinnable if the first or second card is -declared. As such, PySol will reselect the declared card if it -is chosen. +declared. As such, PySol will never select either of those cards as +the target.

The concept of Accordion's Revenge was invented by Mark Masten. diff --git a/pysollib/gamedb.py b/pysollib/gamedb.py index 90a64a0932..4d90c9bfe9 100644 --- a/pysollib/gamedb.py +++ b/pysollib/gamedb.py @@ -112,7 +112,7 @@ class GI: # extra flags GT_BETA = 1 << 12 # beta version of game driver - GT_CHILDREN = 1 << 13 # *not used* + GT_CHILDREN = 1 << 13 GT_CONTRIB = 1 << 14 # contributed games under the GNU GPL GT_HIDDEN = 1 << 15 # not visible in menus, but games can be loaded GT_OPEN = 1 << 16 diff --git a/pysollib/ui/tktile/menubar.py b/pysollib/ui/tktile/menubar.py index 763a21af1b..d28292d60c 100644 --- a/pysollib/ui/tktile/menubar.py +++ b/pysollib/ui/tktile/menubar.py @@ -614,12 +614,13 @@ def _createMenubar(self): menu.add_command( label=n_("&Statistics..."), command=self.mPlayerStats, accelerator=m+"T") - menu.add_command( - label=n_("D&emo statistics..."), - command=lambda: self.mPlayerStats(mode=1101)) menu.add_command( label=n_("Log..."), command=lambda: self.mPlayerStats(mode=103)) + menu.add_separator() + menu.add_command( + label=n_("D&emo statistics..."), + command=lambda: self.mPlayerStats(mode=1101)) menu.add_command( label=n_("Demo log..."), command=lambda: self.mPlayerStats(mode=1103))