From e5178793b3cc9e6c08f2e8f48d7054772709e1a1 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 10 Jan 2020 18:07:18 +1100 Subject: [PATCH] [client] don't fail on invalid magic at startup --- VERSION | 2 +- client/src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 9961e57d..3cb99729 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-69-gc564d054ea+1 \ No newline at end of file +B1-70-gbec4f83778+1 \ No newline at end of file diff --git a/client/src/main.c b/client/src/main.c index d7c2398b..7043ae2d 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -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;