diff --git a/src/game/Level.cpp b/src/game/Level.cpp index 15318c5506d5a8dd2c238eef032fa70564b000ca..53e8448f7faeb57012079ca6c936256ab3091bac 100644 --- a/src/game/Level.cpp +++ b/src/game/Level.cpp @@ -100,7 +100,7 @@ std::shared_ptr<Level> Level::loadLevel(std::string path, Engine& engine) { units.push_back(Unit( x, y, static_cast<UnitFaction>(faction_id), UnitId::INFANTERY, - UnitState::IDLE, engine.getUnitConfig())); + UnitState::UNAVAILABLE, engine.getUnitConfig())); } has_factions[static_cast<int>(faction_id)] = true; }