diff --git a/Aetheria.State.Verify/Program.cs b/Aetheria.State.Verify/Program.cs index e79468ecf..682ffb576 100644 --- a/Aetheria.State.Verify/Program.cs +++ b/Aetheria.State.Verify/Program.cs @@ -8859,6 +8859,14 @@ static void RequireInventoryEntityRenameRequestAuthority(string root) { throw new InvalidOperationException("InventoryPanel no longer routes entity rename through ActionGameManager."); } + + var renameRequest = inventoryPanel.IndexOf("GameManager.RequestEntityName", StringComparison.Ordinal); + var titleRefreshAfterRename = inventoryPanel.IndexOf("Title.text = _displayedEntity.Name", renameRequest, StringComparison.Ordinal); + if (renameRequest >= 0 && titleRefreshAfterRename >= 0) + { + throw new InvalidOperationException( + "InventoryPanel still refreshes entity title immediately after submitting a daemon rename request."); + } } static void RequireWeaponGroupRequestAuthority(string root) diff --git a/Assets/Scripts/UI/Menu/InventoryPanel.cs b/Assets/Scripts/UI/Menu/InventoryPanel.cs index c4b95c3b7..04e96027c 100644 --- a/Assets/Scripts/UI/Menu/InventoryPanel.cs +++ b/Assets/Scripts/UI/Menu/InventoryPanel.cs @@ -162,7 +162,6 @@ public class InventoryPanel : MonoBehaviour, IPointerClickHandler Dialog.Show(() => { GameManager.RequestEntityName(_displayedEntity, entityName); - Title.text = _displayedEntity.Name; }); Dialog.MoveToCursor(); });