private static void DirtyAll(IEntityManager manager, EntityUid entityUid) { foreach (var component in manager.GetComponents(entityUid)) { manager.Dirty((Component)component); } }