From b39770c523b498ae74d1d040852551ed859fffe0 Mon Sep 17 00:00:00 2001 From: semyon422 Date: Tue, 26 Sep 2023 16:22:34 +0500 Subject: [PATCH] Fix difficulty in response --- sphere/web/WebReplayController.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/sphere/web/WebReplayController.lua b/sphere/web/WebReplayController.lua index 2c707d4dd..fc35361b4 100644 --- a/sphere/web/WebReplayController.lua +++ b/sphere/web/WebReplayController.lua @@ -65,6 +65,7 @@ function WebReplayController:POST() return {json = { score = score, inputMode = tostring(noteChart.inputMode), + difficulty = rhythmModel.scoreEngine.enps, modifiers = replay.modifiers, modifiersEncoded = modifierModel:encode(replay.modifiers), modifiersString = modifierModel:getString(replay.modifiers),