diff --git a/VaporWaveWars/game.cpp b/VaporWaveWars/game.cpp index 0b134e6..a6ca06c 100644 --- a/VaporWaveWars/game.cpp +++ b/VaporWaveWars/game.cpp @@ -21,6 +21,7 @@ Game* Game::i() { void Game::run() { sf::Clock c; sf::RenderWindow window(sf::VideoMode(W_WIDTH, W_HEIGHT), "( ( ( Radio Waves ) ) )", sf::Style::Close); + window.setFramerateLimit(25); window.setKeyRepeatEnabled(false); float oldTime = c.getElapsedTime().asSeconds(); while (isRunning) {