Skip to content

Commit

Permalink
Fix #85: Lua Error - Reputation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mctalian committed Sep 2, 2024
1 parent ecd173d commit 00c37d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Features/Reputation.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local Rep = G_RLF.RLF:NewModule("Reputation", "AceEvent-3.0")
local Rep = G_RLF.RLF:NewModule("Reputation", "AceEvent-3.0", "AceTimer-3.0")

local repData = {}
local paragonRepData = {}
Expand Down Expand Up @@ -140,7 +140,9 @@ local function addAnyNewFactions()
end

function Rep:PLAYER_ENTERING_WORLD()
G_RLF:fn(snapshot)
self:ScheduleTimer(function()
G_RLF:fn(snapshot)
end, 1)
end

local function findDelta()
Expand Down

0 comments on commit 00c37d0

Please sign in to comment.