Skip to content

Commit

Permalink
Fix wrong arg in state.encounterID tracking.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Jul 22, 2019
1 parent 471cb98 commit 16e43df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ end ) ]]


-- TBD: Consider making `boss' a check to see whether the current unit is a boss# unit instead.
RegisterEvent( "ENCOUNTER_START", function ( id, name, difficulty )
RegisterEvent( "ENCOUNTER_START", function ( _, id, name, difficulty )
state.encounterID = id
state.encounterName = name
state.encounterDifficulty = difficulty
Expand Down

0 comments on commit 16e43df

Please sign in to comment.