Skip to content

Commit

Permalink
ECS: Fix Raylib call
Browse files Browse the repository at this point in the history
PATCH
  • Loading branch information
guillaumeAbel committed Sep 29, 2023
1 parent 1d681d0 commit d718a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/Systems/Events/EventsSystems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d718a20

Please sign in to comment.