logger::info("{}","Steam api init was successfull");
}else{
logger::error("Error while initializing the steam api");
logger::error("{}","Error while initializing the steam api");
if(settings.at("ShowWarningOnInitFail")){
RE::DebugMessageBox("Unable to initialize Steam achievements. Try to restart the game and the Steam client. This warning can be disabled in SKSE\\Plugins\\EnderalSteam.ini.");
std::stringmsg="Exception while initializing the Steam API, steam achievements will not be available: "+std::string(ex.what());
logger::error(msg.c_str());
logger::error("{}",msg.c_str());
if(settings.at("ShowWarningOnInitFail")){
RE::DebugMessageBox("Unable to initialize Steam achievements. Try to restart the game and the Steam client. This warning can be disabled in SKSE\\Plugins\\EnderalSteam.ini.");