Skip to content

Commit

Permalink
Fix result arrow drawing over player
Browse files Browse the repository at this point in the history
  • Loading branch information
tburrows13 committed Oct 24, 2024
1 parent 6fc0fc7 commit 80e1fb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/result-location.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 80e1fb8

Please sign in to comment.