summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--soh/soh/Enhancements/custom-message/CustomMessageTypes.h2
-rw-r--r--soh/soh/Network/Archipelago/Archipelago.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/soh/soh/Enhancements/custom-message/CustomMessageTypes.h b/soh/soh/Enhancements/custom-message/CustomMessageTypes.h
index f87c27a54..16bb1961f 100644
--- a/soh/soh/Enhancements/custom-message/CustomMessageTypes.h
+++ b/soh/soh/Enhancements/custom-message/CustomMessageTypes.h
@@ -14,7 +14,6 @@ typedef enum {
TEXT_SKULLTULA_PEOPLE_MAKE_YOU_VERY_RICH = 0x0027,
TEXT_SKULLTULA_PEOPLE_CURSE_HAS_BEEN_BROKEN = 0x0028,
TEXT_SKULLTULA_PEOPLE_SAVING_MY_KIDS = 0x0029,
- TEXT_CUSTOM_MESSAGE = 0x004B, // Unused
TEXT_ITEM_KEY_SMALL = 0x0060,
TEXT_ITEM_DUNGEON_MAP = 0x0066,
TEXT_CHEST_GAME_REAL_GAMBLER = 0x006E,
@@ -32,6 +31,7 @@ typedef enum {
TEXT_PURPLE_RUPEE = 0x00F1,
TEXT_HUGE_RUPEE = 0x00F2,
TEXT_RANDOMIZER_CUSTOM_ITEM = 0x00F8,
+ TEXT_CUSTOM_MESSAGE = 0x0109,
TEXT_NAVI_DEKU_TREE_SUMMONS = 0x0140,
TEXT_NAVI_CMON_BE_BRAVE = 0x0141,
TEXT_NAVI_VISIT_THE_PRINCESS = 0x0142,
diff --git a/soh/soh/Network/Archipelago/Archipelago.cpp b/soh/soh/Network/Archipelago/Archipelago.cpp
index 2a45c35d3..444c82d3b 100644
--- a/soh/soh/Network/Archipelago/Archipelago.cpp
+++ b/soh/soh/Network/Archipelago/Archipelago.cpp
@@ -20,6 +20,7 @@
#include "soh/SaveManager.h"
#include "soh/SohGui/SohGui.hpp"
#include "soh/OTRGlobals.h"
+#include "soh/Network/Anchor/Anchor.h"
extern "C" {
#include "variables.h"
@@ -49,6 +50,9 @@ bool ArchipelagoClient::StartClient() {
}
CVarSetInteger(CVAR_REMOTE_ANCHOR("RoomSettings.SyncItemsAndFlags"), 0);
+ if (Anchor::Instance->isConnected && Anchor::Instance->roomState.ownerClientId == Anchor::Instance->ownClientId) {
+ Anchor::Instance->SendPacket_UpdateRoomState();
+ }
disconnecting = false;
retries = 0;