From 6fea0a30e15bd8074bc4d404ef25a93e5571f974 Mon Sep 17 00:00:00 2001 From: NotAdam Date: Mon, 7 Jan 2019 23:31:04 +1100 Subject: [PATCH] update ini reading to use 'general' instead of 'parameters' --- src/common/Config/ConfigMgr.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/Config/ConfigMgr.cpp b/src/common/Config/ConfigMgr.cpp index fe5cee56..a1ad914b 100644 --- a/src/common/Config/ConfigMgr.cpp +++ b/src/common/Config/ConfigMgr.cpp @@ -53,10 +53,10 @@ bool Sapphire::ConfigMgr::loadGlobalConfig( Common::Config::GlobalConfig& config config.database.asyncThreads = getValue< uint8_t >( "Database", "AsyncThreads", 2 ); // params - config.general.dataPath = getValue< std::string >( "Parameters", "DataPath", "C:\\SquareEnix\\FINAL FANTASY XIV - A Realm Reborn\\game\\sqpack" ); - config.general.serverSecret = getValue< std::string >( "Parameters", "ServerSecret", "default" ); - config.general.worldID = getValue< uint16_t >( "Parameters", "WorldID", 67 ); - config.general.defaultGMRank = getValue< uint8_t >( "Parameters", "DefaultGMRank", 255 ); + config.general.dataPath = getValue< std::string >( "General", "DataPath", "C:\\SquareEnix\\FINAL FANTASY XIV - A Realm Reborn\\game\\sqpack" ); + config.general.serverSecret = getValue< std::string >( "General", "ServerSecret", "default" ); + config.general.worldID = getValue< uint16_t >( "General", "WorldID", 67 ); + config.general.defaultGMRank = getValue< uint8_t >( "General", "DefaultGMRank", 255 ); // network config.network.zoneHost = getValue< std::string >( "Network", "ZoneHost", "127.0.0.1" );