config: build++
This commit is contained in:
parent
9a3186edbd
commit
c9363ba851
@ -154,11 +154,6 @@ ConfigService::loadMap(const String& mapName)
|
|||||||
deserializeJson(jsonConfig, configFile);
|
deserializeJson(jsonConfig, configFile);
|
||||||
configFile.close();
|
configFile.close();
|
||||||
JsonArray strideList = jsonConfig["strides"];
|
JsonArray strideList = jsonConfig["strides"];
|
||||||
if (jsonConfig.containsKey("rotation")) {
|
|
||||||
m_jsonMap.rotation = jsonConfig["rotation"];
|
|
||||||
} else {
|
|
||||||
m_jsonMap.rotation = 0;
|
|
||||||
}
|
|
||||||
m_jsonMap.load(strideList);
|
m_jsonMap.load(strideList);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user