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 #ifdef LUACONSOLE
((LuaScriptInterface*)commandInterface)->Init(); ((LuaScriptInterface*)commandInterface)->Init();
#endif #endif
#ifndef MACOSX
if(!Client::Ref().GetPrefBool("InstallCheck", false)) if(!Client::Ref().GetPrefBool("InstallCheck", false))
{ {
Client::Ref().SetPref("InstallCheck", true); Client::Ref().SetPref("InstallCheck", true);
Install(); Install();
} }
#endif
firstTick = false; firstTick = false;
} }
for(std::vector<DebugInfo*>::iterator iter = debugInfo.begin(), end = debugInfo.end(); iter != end; iter++) for(std::vector<DebugInfo*>::iterator iter = debugInfo.begin(), end = debugInfo.end(); iter != end; iter++)