mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 12:12:32 +02:00
use system path instead of default for loading scripts
This commit is contained in:
parent
cd59c462d1
commit
37fa703279
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ static const QString SETTINGS_KEY = "Settings";
|
||||||
|
|
||||||
void ScriptEngines::loadDefaultScripts() {
|
void ScriptEngines::loadDefaultScripts() {
|
||||||
QUrl defaultScriptsLoc = defaultScriptsLocation();
|
QUrl defaultScriptsLoc = defaultScriptsLocation();
|
||||||
defaultScriptsLoc.setPath(defaultScriptsLoc.path() + "/default/defaultScripts.js");
|
defaultScriptsLoc.setPath(defaultScriptsLoc.path() + "/system/defaultScripts.js");
|
||||||
loadScript(defaultScriptsLoc.toString());
|
loadScript(defaultScriptsLoc.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue