fix: player money at start

This commit is contained in:
2021-11-05 17:39:08 +01:00
parent f863fb4942
commit 16bc355070

View File

@@ -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() {