Skip to content

Commit

Permalink
Fix pb target tracker goal thing filling your screen with errors
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Feb 12, 2019
1 parent a2c102d commit b84ced4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ local jdgCur -- Note: only for judgments with OFFSETS, might reorganize a bit l
local tDiff
local wifey
local judgect
local pbtarget
local positive = getMainColor("positive")
local highlight = getMainColor("highlight")
local negative = getMainColor("negative")
Expand Down Expand Up @@ -213,6 +214,9 @@ local t =
if msg.Offset ~= nil then
dvCur = msg.Offset
end
if msg.WifePBGoal ~= nil then
pbtarget = msg.WifePBGoal
end
jdgCur = msg.Judgment
if jdgCounts[jdgCur] ~= nil then
queuecommand(self, "SpottedOffset")
Expand Down Expand Up @@ -303,7 +307,6 @@ else
end,
SpottedOffsetCommand = function(self, msg)
if tDiff then
local pbtarget = msg.WifePBGoal
if tDiff >= 0 then
diffuse(self, color("#00ff00"))
else
Expand Down

0 comments on commit b84ced4

Please sign in to comment.