From d718a20d6c2cec9c7c5df6fdad5140bc0d22687c Mon Sep 17 00:00:00 2001 From: guillaume abel Date: Fri, 29 Sep 2023 22:47:48 +0200 Subject: [PATCH] ECS: Fix Raylib call PATCH --- src/Client/Systems/Events/EventsSystems.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client/Systems/Events/EventsSystems.cpp b/src/Client/Systems/Events/EventsSystems.cpp index 75081b15..c663d127 100644 --- a/src/Client/Systems/Events/EventsSystems.cpp +++ b/src/Client/Systems/Events/EventsSystems.cpp @@ -44,7 +44,7 @@ namespace Systems { void EventsSystems::changeScene(std::size_t /*unused*/, std::size_t /*unused*/) { - if (Raylib::IsKeyDown(Raylib::KeyboardKey::KB_J)) { + if (Raylib::isKeyDown(Raylib::KeyboardKey::KB_J)) { SceneManager &sceneManager = SceneManager::getInstance(); if (sceneManager.getCurrentScene() == MAIN_GAME) { sceneManager.changeScene(MENU);