Remove redundant TryGetComponent call in buckle initialize (#3164)
This commit is contained in:
@@ -108,7 +108,7 @@ namespace Content.Server.GameObjects.Components.Strap
|
||||
|
||||
_occupiedSize += buckle.Size;
|
||||
|
||||
buckle.AppearanceComponent?.SetData(StrapVisuals.RotationAngle, _rotation);
|
||||
buckle.Appearance?.SetData(StrapVisuals.RotationAngle, _rotation);
|
||||
|
||||
SendMessage(new StrapMessage(buckle.Owner, Owner));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user