[client] don't fail on invalid magic at startup

This commit is contained in:
Geoffrey McRae 2020-01-10 18:07:18 +11:00
parent bec4f83778
commit e5178793b3
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
B1-69-gc564d054ea+1
B1-70-gbec4f83778+1

View File

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