mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 10:54:01 +02:00
update to proper data type
This commit is contained in:
@@ -1078,7 +1078,7 @@ bool CoreData::loadGameSettingsFromFile(std::string fileName, GameSettings *game
|
||||
gameSettings->setFactionCount(properties.getInt("FactionCount"));
|
||||
|
||||
if(properties.hasString("NetworkAllowNativeLanguageTechtree") == true) {
|
||||
gameSettings->setNetworkAllowNativeLanguageTechtree(properties.getInt("NetworkAllowNativeLanguageTechtree"));
|
||||
gameSettings->setNetworkAllowNativeLanguageTechtree(properties.getBool("NetworkAllowNativeLanguageTechtree"));
|
||||
}
|
||||
else {
|
||||
gameSettings->setNetworkAllowNativeLanguageTechtree(false);
|
||||
|
Reference in New Issue
Block a user