remove unsed variable
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user