mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 05:59:16 +00:00
Unload mod archives when exiting a mod - so that the file doesn't stay open
This commit is contained in:
parent
46b070eb00
commit
00b5f46154
1 changed files with 2 additions and 0 deletions
|
@ -276,6 +276,8 @@ void Mod::setActive(bool a)
|
||||||
{
|
{
|
||||||
if (!active)
|
if (!active)
|
||||||
{
|
{
|
||||||
|
dsq->unloadMods();
|
||||||
|
|
||||||
mapRevealMethod = REVEAL_UNSPECIFIED;
|
mapRevealMethod = REVEAL_UNSPECIFIED;
|
||||||
setLocalisationModPath("");
|
setLocalisationModPath("");
|
||||||
name = path = "";
|
name = path = "";
|
||||||
|
|
Loading…
Reference in a new issue