fix ArmorWearer sync flag not being set for two slots
no idea how I missed that [skip ci]
This commit is contained in:
parent
aaa1587f0c
commit
bbc167de0f
@ -350,11 +350,11 @@ void ArmorWearer::netElementsNeedLoad(bool) {
|
|||||||
m_backNeedsSync |= itemDatabase->loadItem(m_backCosmeticItemDataNetState.get(), m_backCosmeticItem);
|
m_backNeedsSync |= itemDatabase->loadItem(m_backCosmeticItemDataNetState.get(), m_backCosmeticItem);
|
||||||
|
|
||||||
if (m_headItemDataNetState.pullUpdated())
|
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())
|
if (m_chestItemDataNetState.pullUpdated())
|
||||||
m_chestNeedsSync |= itemDatabase->loadItem(m_chestItemDataNetState.get(), m_chestItem);
|
m_chestNeedsSync |= itemDatabase->loadItem(m_chestItemDataNetState.get(), m_chestItem);
|
||||||
if (m_legsItemDataNetState.pullUpdated())
|
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())
|
if (m_backItemDataNetState.pullUpdated())
|
||||||
m_backNeedsSync |= itemDatabase->loadItem(m_backItemDataNetState.get(), m_backItem);
|
m_backNeedsSync |= itemDatabase->loadItem(m_backItemDataNetState.get(), m_backItem);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user