This commit is contained in:
2024-11-22 13:57:55 +01:00
parent 1a2d2074b8
commit b273358107
4 changed files with 636 additions and 2 deletions

View File

@@ -119,6 +119,7 @@ int main()
text.setPosition(50, 80);
while (errorWindow.isOpen()) {
audioManager.stopBackgroundMusic();
sf::Event event;
while (errorWindow.pollEvent(event)) {
if (event.type == sf::Event::Closed || sf::Keyboard::isKeyPressed(sf::Keyboard::Escape)) {