mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
Fix BGS issue & send room update if enabling AP (#6010)
This commit is contained in:
parent
be7cd12dda
commit
7b7c2e064e
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue