- Menú bàsic funcionant

This commit is contained in:
2024-07-06 14:25:03 +02:00
parent 2b60054466
commit f9733da46f
7 changed files with 71 additions and 9 deletions

View File

@@ -253,7 +253,7 @@ namespace modules
bool loop()
{
if (input::keyDown(SDL_SCANCODE_ESCAPE))
if (input::keyPressed(SDL_SCANCODE_ESCAPE))
{
if (console::isEnabled())
console::toggle();