Route inventory renames through checkpoints

This commit is contained in:
Meta Vens 2026-06-16 00:40:04 +01:00
commit 30eda5c82e
5 changed files with 49 additions and 2 deletions

View file

@ -1415,6 +1415,15 @@ public class ActionGameManager : MonoBehaviour
QueueRunCheckpoint("entity-override-shutdown");
}
public void CommitEntityName(Entity entity, string name)
{
if (entity == null)
return;
entity.Name = name ?? "";
QueueRunCheckpoint("entity-name");
}
public void CommitEquippedItemOverrideShutdown(EquippedItem item, bool enabled)
{
if (item?.EquippableItem == null)