mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-16 20:48:45 +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
|
// clear the scripts, and set out script to our default scripts
|
||||||
clearScriptsBeforeRunning();
|
clearScriptsBeforeRunning();
|
||||||
loadScript("http://public.highfidelity.io/scripts/defaultScripts.js");
|
loadScript("http://public.highfidelity.io/scripts/defaultScripts.js");
|
||||||
|
|
||||||
|
_settings->setValue("firstRun",QVariant(false));
|
||||||
} else {
|
} else {
|
||||||
// do this as late as possible so that all required subsystems are inialized
|
// do this as late as possible so that all required subsystems are inialized
|
||||||
loadScripts();
|
loadScripts();
|
||||||
|
|
Loading…
Reference in a new issue