From c94990f7433c8d45832dc7ecf76fd4d3d161363a Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Sun, 1 Sep 2024 14:17:52 -0400 Subject: [PATCH] v1.0.2 --- autogen/lua_definitions/constants.lua | 2 +- src/pc/lua/smlua_constants_autogen.c | 2 +- src/pc/network/version.h | 2 +- src/pc/update_checker.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autogen/lua_definitions/constants.lua b/autogen/lua_definitions/constants.lua index c004df8a..9dc267f3 100644 --- a/autogen/lua_definitions/constants.lua +++ b/autogen/lua_definitions/constants.lua @@ -12563,7 +12563,7 @@ MINOR_VERSION_NUMBER = 1 PATCH_VERSION_NUMBER = 0 --- @type string -SM64COOPDX_VERSION = "v1.0.1" +SM64COOPDX_VERSION = "v1.0.2" --- @type integer VERSION_NUMBER = 37 diff --git a/src/pc/lua/smlua_constants_autogen.c b/src/pc/lua/smlua_constants_autogen.c index 4b7b7391..26a720ab 100644 --- a/src/pc/lua/smlua_constants_autogen.c +++ b/src/pc/lua/smlua_constants_autogen.c @@ -4397,7 +4397,7 @@ char gSmluaConstants[] = "" "COOP_OBJ_FLAG_LUA = (1 << 1)\n" "COOP_OBJ_FLAG_NON_SYNC = (1 << 2)\n" "COOP_OBJ_FLAG_INITIALIZED = (1 << 3)\n" -"SM64COOPDX_VERSION = 'v1.0.1'\n" +"SM64COOPDX_VERSION = 'v1.0.2'\n" "VERSION_TEXT = 'v'\n" "VERSION_NUMBER = 37\n" "MINOR_VERSION_NUMBER = 1\n" diff --git a/src/pc/network/version.h b/src/pc/network/version.h index dec17d07..f59d973d 100644 --- a/src/pc/network/version.h +++ b/src/pc/network/version.h @@ -1,7 +1,7 @@ #ifndef VERSION_H #define VERSION_H -#define SM64COOPDX_VERSION "v1.0.1" +#define SM64COOPDX_VERSION "v1.0.2" // internal version #define VERSION_TEXT "v" diff --git a/src/pc/update_checker.c b/src/pc/update_checker.c index 4e9e46aa..b348bb5d 100644 --- a/src/pc/update_checker.c +++ b/src/pc/update_checker.c @@ -118,7 +118,7 @@ void check_for_updates(void) { LOADING_SCREEN_MUTEX(loading_screen_set_segment_text("Checking For Updates")); get_version_remote(); - if (sRemoteVersion[0] != '\0' && strcmp(sRemoteVersion, get_version())) { + if (sRemoteVersion[0] != '\0' && strcmp(sRemoteVersion, get_version()) && strcmp(sRemoteVersion, "v1.0.1")) { snprintf( sVersionUpdateTextBuffer, 256, "\\#ffffa0\\%s\n\\#dcdcdc\\%s: %s\n%s: %s",