mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
Remove all usages of obsolete Dirty method, remove some obsoleted methods (#4500)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user