Skip startup install check if running on Mac OS
This commit is contained in:
parent
0894aaa7fa
commit
5cc69aa2a9
@ -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++)
|
||||||
|
Reference in New Issue
Block a user