set firstRun so it only happens once

This commit is contained in:
ZappoMan 2014-03-25 00:57:29 -07:00
parent 571ecf0964
commit f10d5e23f8

View file

@ -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();