Code cleanup: Dirty(Comp) (#26238)
* Replaced uses of Dirty(Component) with Dirty(Uid, Component) Modified some systems (notably pulling-related) to use uids. * Missed a few * Revert changes to pulling * No
This commit is contained in:
@@ -100,10 +100,10 @@ public abstract class SharedConveyorController : VirtualController
|
||||
transform.LocalPosition = localPos;
|
||||
|
||||
// Force it awake for collisionwake reasons.
|
||||
Physics.SetAwake(entity, body, true);
|
||||
Physics.SetAwake((entity, body), true);
|
||||
Physics.SetSleepTime(body, 0f);
|
||||
}
|
||||
Dirty(comp);
|
||||
Dirty(uid, comp);
|
||||
}
|
||||
|
||||
private static Vector2 Convey(Vector2 direction, float speed, float frameTime, Vector2 itemRelative)
|
||||
|
||||
Reference in New Issue
Block a user