Fix warnings and code cleanup/fixes (#13570)
This commit is contained in:
@@ -85,7 +85,7 @@ namespace Content.Client.Clickable
|
||||
// Next, to get the right click map we need the "direction" of this layer that is actually being used to draw the sprite on the screen.
|
||||
// This **can** differ from the dir defined before, but can also just be the same.
|
||||
if (sprite.EnableDirectionOverride)
|
||||
dir = sprite.DirectionOverride.Convert(rsiState.Directions);;
|
||||
dir = sprite.DirectionOverride.Convert(rsiState.Directions);
|
||||
dir = dir.OffsetRsiDir(layer.DirOffset);
|
||||
|
||||
if (_clickMapManager.IsOccluding(layer.ActualRsi!, layer.State, dir, layer.AnimationFrame, layerImagePos))
|
||||
|
||||
Reference in New Issue
Block a user