]> bicyclesonthemoon.info Git - ott/molpy-up/commitdiff
resolve keyboard conflict for flag
authorb <rowerynaksiezycu@gmail.com>
Fri, 20 Mar 2026 22:17:05 +0000 (23:17 +0100)
committerb <rowerynaksiezycu@gmail.com>
Fri, 20 Mar 2026 22:17:05 +0000 (23:17 +0100)
README
molpyup.py

diff --git a/README b/README
index 4c4faa4cafcf6b5ebf9611843bedf51ad5bce446..fea59baf61b8efceb7f63e4bc73897051f0902dc 100644 (file)
--- 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 <ctrl> with <+> or <-> to crank up/down the score.
  - Use <ctrl> with <e> to enable / disable "eternal" mode. No more falling down. ;-)
- - Use <ctrl> with <f> for flag-eternal mode. Lose a flag instead of falling down.
+ - Use <ctrl> with <g> for flag-eternal mode. Lose a flag instead of falling down.
  - Use <ctrl> with <f> to get / get rid of a flag.
  - Use <ctrl> with <b> to get / get rid of a beanie.
  - Use <ctrl> with <i> enable / disable artificial intelligence playing for you.
index 481a27b433eb54f49d38a60359a17dc2e6ca7fc1..2eaef4deb0b7cb37ae07a89550e3c0e7f5d9fe4c 100644 (file)
@@ -7,6 +7,7 @@
 # Copyright (C) 2018 by Peter Gerwinski <http://www.peter.gerwinski.de>,
 # 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