Fixed typo preventing setting game mode

This commit is contained in:
Antoine Pilote
2024-09-03 20:02:05 -04:00
parent 112718d1ac
commit adb90b4f42

View File

@@ -30,7 +30,7 @@ namespace Nuake
static void Draw(); // Start new frame
static void EndDraw(); // Swap buffer
static void SetGameState(GameState gameState) { gameState = gameState; }
static void SetGameState(GameState state) { gameState = state; }
static GameState GetGameState() { return gameState; }
static bool IsPlayMode() { return gameState == GameState::Playing; }