RobustToolbox
RobustToolbox copied to clipboard
tilebuildoverlay sprite missing "_south" suffix
After trying to use the tile building tool an exception is thrown inside AlignTileAny.Update. Client.Services.Placement.GetDirectionalSprite(string baseSprite) is being used to get the UI sprites but the problem is the UI sprites dont have a direction. In my case the sprite that was trying to be accessed is "tilebuildoverlay_south" which should just be "tilebuildoverlay".
Should the sprite be renamed with a "_south" suffix or should I define a GetSprite function next to GetDirectionalSprite and use it instead?
I created a pull request that fixes this issue on my end.