Skip to content

Commit

Permalink
Auto-switch rep from no tracked could cause issues
Browse files Browse the repository at this point in the history
References #10
  • Loading branch information
DJScias committed Sep 3, 2024
1 parent 65bbaa0 commit 5f69b44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [6.1.7] - 2024-09-03

### Fixed
- Auto-switching reputation from no tracked reputation could caues issues (fixes [#10](https://github.com/DJScias/Experiencer2/issues/10)).

## [6.1.6] - 2024-08-23

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion modules/reputation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ function module:Update(elapsed)
end

local factionData = C_Reputation.GetWatchedFactionData();
if selectedFaction ~= factionData.name then
if factionData and selectedFaction ~= factionData.name then
module:MenuSetWatchedFactionID(factionData.factionID);
module.AutoWatchUpdate = 2;
else
Expand Down

0 comments on commit 5f69b44

Please sign in to comment.