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) {
|
void ServerGame::tick(std::uint64_t delta) {
|
||||||
Game::tick(delta);
|
if(m_GameState == game::GameState::Game){
|
||||||
m_GoldMineTimer.update();
|
Game::tick(delta);
|
||||||
|
m_GoldMineTimer.update();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ServerGame::startGame() {
|
void ServerGame::startGame() {
|
||||||
|
|||||||
Reference in New Issue
Block a user