Skip to content

Commit 43d93d2

Browse files
committed
Prevent secret comparison
1 parent 895dbb0 commit 43d93d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Categories/Cast.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ DogTag:AddEventHandler("Unit", "EventRequested", function(_, event)
238238
-- The purpose of this event is to predict the next spell target.
239239
if unit == "player" then
240240
nextSpell = spellID
241-
nextTarget = target ~= "" and target or nil
241+
nextTarget = target
242242
end
243243
end)
244244

0 commit comments

Comments
 (0)