Skip to content

Commit

Permalink
Merge pull request cubzh#485 from cubzh/xavier/cub-1286-item-editor-f…
Browse files Browse the repository at this point in the history
…ix-impact-on-player

Fix wearable editor when the player is hidden
  • Loading branch information
XLegland authored Mar 7, 2024
2 parents 6a688c0 + 16c1e02 commit 9f09c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/modules/item_editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ click = function(e)
end
elseif currentEditSubmode == editSubmode.add then
local impactCoords = nil
if isWearable then
if isWearable and currentWearablePreviewMode ~= wearablePreviewMode.hide then
local impactOnPlayer = nil
local hitPlayerFirst = false
local playerDistance = impactDistance
Expand Down

0 comments on commit 9f09c8a

Please sign in to comment.