Skip to content

Commit

Permalink
Fix settarget incorrectly calling CallAsTeam with allyTeamID instead …
Browse files Browse the repository at this point in the history
…of teamID. (#3960)

CallAsTeam gets teamID, not allyTeamID.
  • Loading branch information
saurtron authored Nov 23, 2024
1 parent eb9bbeb commit d601ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luarules/gadgets/unit_target_on_the_move.lua
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ else -- UNSYNCED
if fullview then
drawDecorations()
else
CallAsTeam(myAllyTeam, drawDecorations)
CallAsTeam(myTeam, drawDecorations)
end
end

Expand Down

0 comments on commit d601ab4

Please sign in to comment.