Skip startup install check if running on Mac OS

This commit is contained in:
Simon Robertshaw 2013-10-30 19:48:06 +00:00
parent 0894aaa7fa
commit 5cc69aa2a9

View File

@ -729,11 +729,13 @@ void GameController::Tick()
#ifdef LUACONSOLE
((LuaScriptInterface*)commandInterface)->Init();
#endif
#ifndef MACOSX
if(!Client::Ref().GetPrefBool("InstallCheck", false))
{
Client::Ref().SetPref("InstallCheck", true);
Install();
}
#endif
firstTick = false;
}
for(std::vector<DebugInfo*>::iterator iter = debugInfo.begin(), end = debugInfo.end(); iter != end; iter++)