From 254df686ab484d31aa91651f0e9acc6ab198784b Mon Sep 17 00:00:00 2001 From: t123yh Date: Thu, 24 Aug 2017 15:37:22 +0800 Subject: [PATCH] Fix score processing. --- src/daemon-frontend-syzoj/socketio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon-frontend-syzoj/socketio.ts b/src/daemon-frontend-syzoj/socketio.ts index c9cd7c9..dc71b30 100644 --- a/src/daemon-frontend-syzoj/socketio.ts +++ b/src/daemon-frontend-syzoj/socketio.ts @@ -94,7 +94,7 @@ function processRoughResult(source: RoughResult, config: DisplayConfig): RoughRe result: result, time: config.showUsage ? source.time : null, memory: config.showUsage ? source.memory : null, - score: config.showUsage ? source.score : null + score: config.showScore ? source.score : null }; }