This commit is contained in:
tobid7 2022-04-11 09:59:25 +02:00
parent c5c83a9c17
commit a7accb0bf5

View File

@ -553,7 +553,7 @@ Result RenderD7::Init::Main(std::string app_name)
{
cfgfile = std::make_unique<INI::INIFile>(cfgpath + "/config.ini");
cfgfile->read(cfgstruct);
int version = (int)RenderD7::Convert::StringtoFloat(cfgstruct["info"]["version"]);
std::string version = cfgstruct["info"]["version"];
if (version != CFGVER) renew = true;
}
if (!FS::FileExist(cfgpath + "/config.ini") || renew)