fix(property): naming a model no longer renames the property

The model info window sends UpdatePropertyOrModelForFilterCheck with isProperty false (client 0x00cc42e0); only the property editor sends it true (0x00c2e710).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-30 22:06:10 -05:00
parent 9bcc132dde
commit 030efdaa0f
2 changed files with 5 additions and 1 deletions

View File

@@ -373,6 +373,9 @@ namespace GameMessages {
}
void UpdatePropertyOrModelForFilterCheck::Handle(Entity& entity, const SystemAddress& sysAddr) {
// A model's name and description (the property editor's model info window,
// LWOPropertyEditorComponent::OnUpdateModelDescription 0x00cc42e0) aren't stored yet; they must not rename the property
if (!isProperty) return;
auto* property = PropertyManagementComponent::Instance();
// Only the owner names the property
const auto* sender = PlayerManager::GetPlayer(sysAddr);