Alternative key ' for console.

This commit is contained in:
Storm Dragon
2025-09-27 16:25:34 -04:00
parent fbbb970303
commit 870ef051ba

View File

@@ -627,7 +627,7 @@ class WickedQuest:
altPressed = mods & pygame.KMOD_ALT
# Console activation with grave accent key - only in story mode
if event.key == pygame.K_BACKQUOTE: # Grave accent key (`)
if event.key in (pygame.K_BACKQUOTE, pygame.K_QUOTE): # Grave accent key (`)
# Open console (only in story mode, not survival)
if hasattr(self, 'currentLevel') and self.currentLevel and self.currentLevel.levelId != 999:
self.open_console()