Skip to content

Commit

Permalink
set time of last manual who call
Browse files Browse the repository at this point in the history
  • Loading branch information
mroswald committed Oct 3, 2019
1 parent 048228f commit f5e2e40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CensusPlusClassic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3555,8 +3555,8 @@ local whoMsg
local lastManual = GetTime()

function ManualWho()
local now = GetTime();
local deltaManual = now - lastManual;
local now = GetTime()
local deltaManual = now - lastManual
if (deltaManual > CensusPlus_UPDATEDELAY2) then
if (g_Verbose == true) then
print("ManualWho:", whoMsg)
Expand All @@ -3570,6 +3570,7 @@ function ManualWho()
WhoFrameEditBox:SetText(whoMsg)
WhoFrameWhoButton:Click()
end
lastManual = GetTime()
end
end

Expand Down

0 comments on commit f5e2e40

Please sign in to comment.