fix: player money at start
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user