diff --git a/src/game/server/ServerGame.cpp b/src/game/server/ServerGame.cpp index 0ab8fde..6d0d385 100644 --- a/src/game/server/ServerGame.cpp +++ b/src/game/server/ServerGame.cpp @@ -9,8 +9,10 @@ ServerGame::ServerGame(server::Server* server) : game::Game(&m_ServerWorld), m_S } void ServerGame::tick(std::uint64_t delta) { - Game::tick(delta); - m_GoldMineTimer.update(); + if(m_GameState == game::GameState::Game){ + Game::tick(delta); + m_GoldMineTimer.update(); + } } void ServerGame::startGame() {