Skip to content

Commit

Permalink
fix logic error and load fail for eval screen cb/hand counts
Browse files Browse the repository at this point in the history
customwindows was bombing this and since this is a proof of concept and not a full implementation yet i'm just going to set the judge to standard 4 if they are enabled
  • Loading branch information
MinaciousGrace committed Jul 18, 2018
1 parent aba15f5 commit 26bbb18
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,12 @@ function scoreBoard(pn,position)
-- basic per-hand stats to be expanded on later
local tst = { 1.50,1.33,1.16,1.00,0.84,0.66,0.50,0.33,0.20 } -- ok this is getting dumb i need to do this better -mina
local tso = tst[judge]
if enabledCustomWindows then
tso = 1
end

for i=1,#devianceTable do
if devianceTable[i] > tso * 135 then
if math.abs(devianceTable[i]) > tso * 90 then
if tracks[i] == 0 or tracks[i] == 1 then
cbl = cbl + 1
else
Expand Down

0 comments on commit 26bbb18

Please sign in to comment.