mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
set firstRun so it only happens once
This commit is contained in:
parent
571ecf0964
commit
f10d5e23f8
1 changed files with 2 additions and 0 deletions
|
@ -338,6 +338,8 @@ Application::Application(int& argc, char** argv, timeval &startup_time) :
|
|||
// clear the scripts, and set out script to our default scripts
|
||||
clearScriptsBeforeRunning();
|
||||
loadScript("http://public.highfidelity.io/scripts/defaultScripts.js");
|
||||
|
||||
_settings->setValue("firstRun",QVariant(false));
|
||||
} else {
|
||||
// do this as late as possible so that all required subsystems are inialized
|
||||
loadScripts();
|
||||
|
|
Loading…
Reference in a new issue