From 80e1fb8e0f0e4e12bcd76944736fb3cb50db07b1 Mon Sep 17 00:00:00 2001
From: Tom Burrows <tomburrows13@icloud.com>
Date: Thu, 24 Oct 2024 13:45:22 +0100
Subject: [PATCH] Fix result arrow drawing over player

---
 scripts/result-location.lua | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/result-location.lua b/scripts/result-location.lua
index f60d452..226416e 100644
--- a/scripts/result-location.lua
+++ b/scripts/result-location.lua
@@ -97,7 +97,8 @@ function ResultLocation.draw_arrows(player, surface, position)
       x_scale = 1,
       y_scale = 1,
       target = {entity=character, offset=ARROW_TARGET_OFFSET},
-      orientation_target = {position=position, offset=ARROW_ORIENTATED_OFFSET},
+      orientation_target = position,
+      oriented_offset = ARROW_ORIENTATED_OFFSET,
       surface = surface,
       time_to_live = player.mod_settings["fs-highlight-duration"].value * 60,
       players = {player},