From 26bbb189ac2f4a4bdf809330c9840509f33757e0 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 18 Jul 2018 16:45:44 -0400 Subject: [PATCH] fix logic error and load fail for eval screen cb/hand counts 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 --- .../BGAnimations/ScreenEvaluation decorations/default.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Themes/Til Death/BGAnimations/ScreenEvaluation decorations/default.lua b/Themes/Til Death/BGAnimations/ScreenEvaluation decorations/default.lua index 4163c90aea..680bf4648d 100644 --- a/Themes/Til Death/BGAnimations/ScreenEvaluation decorations/default.lua +++ b/Themes/Til Death/BGAnimations/ScreenEvaluation decorations/default.lua @@ -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