Skip to content

Commit

Permalink
fix(client): missing entityHit in zones (#111)
Browse files Browse the repository at this point in the history
Co-authored-by: benzon <soeren@bzn.dk>
  • Loading branch information
benzon and benzon authored Sep 23, 2023
1 parent 4c2c924 commit 6444257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ local function startTargeting()

for j = 1, optionCount do
local option = zoneOptions[j]
local hide = shouldHide(option, distance, endCoords)
local hide = shouldHide(option, distance, endCoords, entityHit)

if option.hide ~= hide then
option.hide = hide
Expand Down

0 comments on commit 6444257

Please sign in to comment.