mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 22:44:32 +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…
Add table
Add a link
Reference in a new issue