From bbc167de0f1b8c01ddf4caba30408f71999b2960 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:07:34 +1100 Subject: [PATCH] fix ArmorWearer sync flag not being set for two slots no idea how I missed that [skip ci] --- source/game/StarArmorWearer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/game/StarArmorWearer.cpp b/source/game/StarArmorWearer.cpp index 4acce5f..89bebe3 100644 --- a/source/game/StarArmorWearer.cpp +++ b/source/game/StarArmorWearer.cpp @@ -350,11 +350,11 @@ void ArmorWearer::netElementsNeedLoad(bool) { m_backNeedsSync |= itemDatabase->loadItem(m_backCosmeticItemDataNetState.get(), m_backCosmeticItem); if (m_headItemDataNetState.pullUpdated()) - m_headNeedsSync |= !itemDatabase->loadItem(m_headItemDataNetState.get(), m_headItem); + m_headNeedsSync |= itemDatabase->loadItem(m_headItemDataNetState.get(), m_headItem); if (m_chestItemDataNetState.pullUpdated()) m_chestNeedsSync |= itemDatabase->loadItem(m_chestItemDataNetState.get(), m_chestItem); if (m_legsItemDataNetState.pullUpdated()) - m_legsNeedsSync |= !itemDatabase->loadItem(m_legsItemDataNetState.get(), m_legsItem); + m_legsNeedsSync |= itemDatabase->loadItem(m_legsItemDataNetState.get(), m_legsItem); if (m_backItemDataNetState.pullUpdated()) m_backNeedsSync |= itemDatabase->loadItem(m_backItemDataNetState.get(), m_backItem); }