diff --git a/lib/discordsdk/aarch64/discord_game_sdk.bundle b/lib/discordsdk/aarch64/discord_game_sdk.bundle new file mode 100644 index 00000000..8f086062 Binary files /dev/null and b/lib/discordsdk/aarch64/discord_game_sdk.bundle differ diff --git a/lib/lua/mac_arm/liblua53.a b/lib/lua/mac_arm/liblua53.a index af5f3001..8a3e6558 100644 Binary files a/lib/lua/mac_arm/liblua53.a and b/lib/lua/mac_arm/liblua53.a differ diff --git a/lib/lua/mac_intel/liblua53.a b/lib/lua/mac_intel/liblua53.a index cd17ade2..cb3a3de9 100644 Binary files a/lib/lua/mac_intel/liblua53.a and b/lib/lua/mac_intel/liblua53.a differ diff --git a/src/game/save_file.c b/src/game/save_file.c index 1474409a..635394c4 100644 --- a/src/game/save_file.c +++ b/src/game/save_file.c @@ -553,6 +553,7 @@ void save_file_collect_star_or_key(s16 coinScore, s16 starIndex, u8 fromNetwork) } } + s32 index = gLevelValues.useGlobalStarIds ? starByte : courseIndex; switch (gCurrLevelNum) { case LEVEL_BOWSER_1: if (!(save_file_get_flags() & (SAVE_FLAG_HAVE_KEY_1 | SAVE_FLAG_UNLOCKED_BASEMENT_DOOR))) { @@ -570,7 +571,6 @@ void save_file_collect_star_or_key(s16 coinScore, s16 starIndex, u8 fromNetwork) break; default: - s32 index = gLevelValues.useGlobalStarIds ? starByte : courseIndex; if (!(save_file_get_star_flags(fileIndex, index) & starFlag)) { save_file_set_star_flags(fileIndex, index, starFlag); }