From 214edfbe3a373237484a487ac80425a15a41739f Mon Sep 17 00:00:00 2001 From: Brosef Date: Tue, 24 Jun 2025 08:01:48 +0100 Subject: [PATCH] Updated to use GameUtils internal calls --- __main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__main__.py b/__main__.py index dd88df8..ed990cd 100644 --- a/__main__.py +++ b/__main__.py @@ -87,7 +87,7 @@ class Launcher: def update(self): for event in pygame.event.get(): if self.gameRunning: - self.currentGame.onEvent(event) + self.currentGame._onEvent(event) # CTRL+ESC if event.type == pygame.QUIT or (event.type == pygame.KEYDOWN and event.key == pygame.K_ESCAPE and event.mod == 64): @@ -110,7 +110,7 @@ class Launcher: self.loadGame(games['russianRoulette']) if self.gameRunning: - self.currentGame.update() + self.currentGame._update() self.screen.blit(self.currentGame.surf, (0, 0)) else: self.screen.fill((0, 0, 0))