1
0
Fork 0
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:
fgenesis 2014-04-23 05:20:47 +02:00
parent 46b070eb00
commit 00b5f46154

View file

@ -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 = "";