Make clickmap lookups use the sprite tree (#13275)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -118,7 +118,7 @@ public sealed class InteractionOutlineSystem : EntitySystem
|
||||
&& _inputManager.MouseScreenPosition.IsValid)
|
||||
{
|
||||
var mousePosWorld = vp.ScreenToMap(_inputManager.MouseScreenPosition.Position);
|
||||
entityToClick = screen.GetEntityUnderPosition(mousePosWorld);
|
||||
entityToClick = screen.GetClickedEntity(mousePosWorld);
|
||||
|
||||
if (vp is ScalingViewport svp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user