From 7db35c9435ea54dc3be28e3652962c8aaeb6242e Mon Sep 17 00:00:00 2001 From: Christian 'ketura' McCarty Date: Thu, 8 May 2025 20:43:37 -0500 Subject: [PATCH] Expanded the replay speed range from 0.2-2 to 0.0625-16 --- gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/gameUi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/gameUi.js b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/gameUi.js index 5593d3993..3018c2739 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/gameUi.js +++ b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/gameUi.js @@ -145,11 +145,11 @@ var GempLotrGameUI = Class.extend({ }); slowerBut.click( function () { - that.animations.replaySpeed = Math.min(2, that.animations.replaySpeed + 0.2); + that.animations.replaySpeed = Math.min(16, that.animations.replaySpeed * 2); }); fasterBut.click( function () { - that.animations.replaySpeed = Math.max(0.2, that.animations.replaySpeed - 0.2); + that.animations.replaySpeed = Math.max(0.0625, that.animations.replaySpeed / 2); }); replayDiv.append(slowerBut); replayDiv.append(fasterBut);