From b9442ed7906335358a03d961d0289aec26df25bd Mon Sep 17 00:00:00 2001 From: Aurelien Gateau Date: Tue, 10 Dec 2024 17:54:51 +0100 Subject: [PATCH] Fix crash when opening debug screen --- core/src/com/agateau/pixelwheels/screens/DebugScreen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/agateau/pixelwheels/screens/DebugScreen.java b/core/src/com/agateau/pixelwheels/screens/DebugScreen.java index adda994ab..b45f97ef3 100644 --- a/core/src/com/agateau/pixelwheels/screens/DebugScreen.java +++ b/core/src/com/agateau/pixelwheels/screens/DebugScreen.java @@ -84,7 +84,7 @@ private void setupUi() { mCurrentGroup = tabMenuItem.addPage("Speed"); addRange("Max driving force (Casual)", "easyMaxDrivingForce", 10, 200, 10); addRange("Max driving force (Pro)", "mediumMaxDrivingForce", 10, 200, 10); - addRange("Max driving force (Legen.)", "proMaxDrivingForce", 10, 200, 10); + addRange("Max driving force (Legen.)", "hardMaxDrivingForce", 10, 200, 10); addRange("Max speed", "maxSpeed", 10, 400, 10); addRange("AI speed limiter", "aiSpeedLimiter", 0.1f, 1f, 0.1f); mCurrentGroup = tabMenuItem.addPage("Turbo");