Trigger player model visual update when online inventory changes

rebuildOnlineInventory() now sets a dirty flag that GameScreen checks
each frame to call updateCharacterGeosets/Textures and loadEquippedWeapons.
This commit is contained in:
Kelsi 2026-02-06 03:13:42 -08:00
parent ab1f39c73b
commit 82e63fc95d
3 changed files with 5 additions and 1 deletions

View file

@ -2936,6 +2936,8 @@ void GameHandler::rebuildOnlineInventory() {
inventory.setBackpackSlot(i, def);
}
onlineEquipDirty_ = true;
LOG_DEBUG("Rebuilt online inventory: equip=", [&](){
int c = 0; for (auto g : equipSlotGuids_) if (g) c++; return c;
}(), " backpack=", [&](){