remove unsed variable

This commit is contained in:
2022-07-18 11:51:52 +02:00
parent 73fa10d8d6
commit 243b153309

View File

@@ -40,7 +40,6 @@ void ServerGame::StartGame() {
void ServerGame::InitPlayerStats() { void ServerGame::InitPlayerStats() {
static const unsigned int START_GOLD = 100; static const unsigned int START_GOLD = 100;
static const unsigned int START_EXP = 0; static const unsigned int START_EXP = 0;
static const unsigned int START_GOLD_PER_SEC = 5;
for (auto& [id, player] : m_Server->GetPlayers()) { for (auto& [id, player] : m_Server->GetPlayers()) {
player.SetGold(START_GOLD); player.SetGold(START_GOLD);
player.SetExp(START_EXP); player.SetExp(START_EXP);