diff --git a/src/core/include/scheduler.h b/src/core/include/scheduler.h index 37acdffe..a33dca3a 100644 --- a/src/core/include/scheduler.h +++ b/src/core/include/scheduler.h @@ -19,8 +19,8 @@ public: void setRestrictSpawns(bool newRestrictSpawns) { restrictSpawns = newRestrictSpawns; } void setRestrictToCoalition(bool newRestrictToCoalition) { restrictToCoalition = newRestrictToCoalition; } void setSetupTime(unsigned int newSetupTime) { setupTime = newSetupTime; } - void setBlueSpawnPoints(unsigned int newBlueSpawnPoints) { blueSpawnPoints = newBlueSpawnPoints; } - void setRedSpawnPoints(unsigned int newRedSpawnPoints) { redSpawnPoints = newRedSpawnPoints; } + void setBlueSpawnPoints(int newBlueSpawnPoints) { blueSpawnPoints = newBlueSpawnPoints; } + void setRedSpawnPoints(int newRedSpawnPoints) { redSpawnPoints = newRedSpawnPoints; } void setEras(vector newEras) { eras = newEras; } void setCommandModeOptions(json::value newOptions); @@ -29,8 +29,8 @@ public: bool getRestrictSpawns() { return restrictSpawns; } bool getRestrictToCoalition() { return restrictToCoalition; } unsigned int getSetupTime() { return setupTime; } - unsigned int getBlueSpawnPoints() { return blueSpawnPoints; } - unsigned int getRedSpawnPoints() { return redSpawnPoints; } + int getBlueSpawnPoints() { return blueSpawnPoints; } + int getRedSpawnPoints() { return redSpawnPoints; } vector getEras() { return eras; } json::value getCommandModeOptions(); @@ -43,8 +43,8 @@ private: bool restrictSpawns = false; bool restrictToCoalition = false; unsigned int setupTime = 300; - unsigned int blueSpawnPoints = 10000; - unsigned int redSpawnPoints = 10000; + int blueSpawnPoints = 10000; + int redSpawnPoints = 10000; vector eras = { "WW2", "Early Cold War", "Mid Cold War", "Late Cold War", "Modern" }; };