From: b Date: Fri, 20 Mar 2026 22:17:05 +0000 (+0100) Subject: resolve keyboard conflict for flag X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=f98e6a4dfe7684bc48439df2d39e57688c462142;p=ott%2Fmolpy-up resolve keyboard conflict for flag --- diff --git a/README b/README index 4c4faa4..fea59ba 100644 --- a/README +++ b/README @@ -41,7 +41,7 @@ In the game, the following keys can be used: Some additional key bindings for debugging and/or cheating: - Use with <+> or <-> to crank up/down the score. - Use with to enable / disable "eternal" mode. No more falling down. ;-) - - Use with for flag-eternal mode. Lose a flag instead of falling down. + - Use with for flag-eternal mode. Lose a flag instead of falling down. - Use with to get / get rid of a flag. - Use with to get / get rid of a beanie. - Use with enable / disable artificial intelligence playing for you. diff --git a/molpyup.py b/molpyup.py index 481a27b..2eaef4d 100644 --- a/molpyup.py +++ b/molpyup.py @@ -7,6 +7,7 @@ # Copyright (C) 2018 by Peter Gerwinski , # OTTified in about 120 minutes. # +# Copyright (C) 2018, 2026 by Balthasar Szczepański # edited to add arrow, AI, and a flag save mode - balthasar_s # # This program is Free Software: you can redistribute it and/or modify it @@ -801,7 +802,7 @@ class MolpyUp: if pygame.key.get_mods() & KMOD_CTRL: self.eternal = not self.eternal self.eternalFlag = False - elif key[K_f]: + elif key[K_g]: if pygame.key.get_mods() & KMOD_CTRL: self.eternalFlag = not self.eternalFlag self.eternal = False