[client] don't fail on invalid magic at startup
This commit is contained in:
1 parent
bec4f83778
commit
e5178793b3
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1297,7 +1297,7 @@ static int lg_run()
|
||||
if ((status = lgmpClientInit(state.shm.mem, state.shm.size, &state.lgmp)) == LGMP_OK)
|
||||
break;
|
||||
|
||||
if (status == LGMP_ERR_INVALID_SESSION)
|
||||
if (status == LGMP_ERR_INVALID_SESSION || status == LGMP_ERR_INVALID_MAGIC)
|
||||
{
|
||||
SDL_WaitEventTimeout(NULL, 1000);
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user