1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-17 11:59:28 +00:00

Fix crash added with last commit, thx KS-10 for pointing

This commit is contained in:
fgenesis 2012-07-23 05:06:01 +02:00
commit 9e4fe3809e
2 changed files with 3 additions and 1 deletions

View file

@ -8952,7 +8952,7 @@ void ScriptInterface::shutdown()
Script *ScriptInterface::openScript(const std::string &file, bool ignoremissing /* = false */)
{
std::string realFile = localisePath(file, dsq->mod.isActive() ? dsq->mod.getPath() : "");
std::string realFile = localisePathInternalModpath(file);
realFile = core->adjustFilenameCase(realFile);
bool loadedScript = false;