Remove all usages of obsolete Dirty method, remove some obsoleted methods (#4500)

This commit is contained in:
DrSmugleaf
2023-10-21 14:19:07 -07:00
committed by GitHub
parent 7feede0d95
commit f754ddb96d
16 changed files with 33 additions and 81 deletions
@@ -98,7 +98,7 @@ namespace Robust.Server.ViewVariables
// Auto-dirty component. Only works when modifying a field that is directly on a component,
// Does not work for nested objects.
if (Object is Component comp)
EntityManager.Dirty(comp);
EntityManager.Dirty(comp.Owner, comp);
}
public bool TryGetRelativeObject(object[] propertyIndex, out object? value)