Map names now stored based on stage plate names provided. Made unlock conditions based on their actual unlock conditions and not the names of the plates.
This commit is contained in:
@@ -1246,6 +1246,7 @@ void Crawler::InitializeLevel(std::string mapFile,MapName map){
|
||||
|
||||
for(ConnectionPoint&cp:State_OverworldMap::connections){
|
||||
if(LEVEL_NAMES.count(cp.map)&&&MapHelper::MapFromString(cp.map)==&MAP_DATA[map]){
|
||||
MAP_DATA[map].name=cp.name;
|
||||
for(int spawn:MAP_DATA[map].spawns){
|
||||
cp.spawns.push_back(spawn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user