Skip to content

Fix: Incorrect asset_properties for Identical Skins#376

Merged
GODrums merged 2 commits intomasterfrom
fix/duplicate-asset-properties
Mar 16, 2026
Merged

Fix: Incorrect asset_properties for Identical Skins#376
GODrums merged 2 commits intomasterfrom
fix/duplicate-asset-properties

Conversation

@GODrums
Copy link
Collaborator

@GODrums GODrums commented Mar 16, 2026

Fixes a bug where multiple items of the same skin receive the same asset_properties in the inventory item grid.

The bug:
image

Fixed:
image


Note

Low Risk
Low risk: small, localized change to inventory metadata mapping that only affects how item properties are read/populated for display.

Overview
Fixes incorrect asset_properties assignment for inventory items with identical skins by tightening how properties are populated in InventoryItemHolderMetadata.asset.

For appwide inventories, it now copies from invAsset.asset_properties when present; for non-appwide inventories, it now prefers g_ActiveInventory.m_rgAssetProperties[this.assetId] instead of relying on the existing description field, preventing cross-item property reuse.

Written by Cursor Bugbot for commit e92f863. Configure here.

@GODrums GODrums requested a review from Step7750 March 16, 2026 19:23
@GODrums GODrums self-assigned this Mar 16, 2026
@GODrums GODrums added the bug label Mar 16, 2026
@GODrums GODrums merged commit 7e831b5 into master Mar 16, 2026
2 checks passed
@GODrums GODrums deleted the fix/duplicate-asset-properties branch March 16, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants