Fix outdated new addon arrow if stk is killed in background
This commit is contained in:
parent
65f23987f1
commit
d1c2688510
@ -124,6 +124,10 @@ extern "C" void pause_mainloop()
|
||||
PlayerManager::get()->save();
|
||||
if (addons_manager->hasDownloadedIcons())
|
||||
addons_manager->saveInstalled();
|
||||
// Make sure the new addon arrow is gone when stk is killed in background
|
||||
// user_config saves the latest addon time
|
||||
if (addons_manager->hasNewAddons())
|
||||
user_config->saveConfig();
|
||||
Online::RequestManager::get()->setPaused(true);
|
||||
IrrlichtDevice* dev = irr_driver->getDevice();
|
||||
if (dev)
|
||||
|
Loading…
Reference in New Issue
Block a user