From af19753d904a8a6f279ec17c56a1848ce89c8375 Mon Sep 17 00:00:00 2001 From: bozmir Date: Fri, 20 Dec 2024 19:32:52 +0100 Subject: [PATCH] disable cheat --- Assets/Scripts/KerstSpecial/RaceController.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Assets/Scripts/KerstSpecial/RaceController.cs b/Assets/Scripts/KerstSpecial/RaceController.cs index 8ee281e0..35c4527f 100644 --- a/Assets/Scripts/KerstSpecial/RaceController.cs +++ b/Assets/Scripts/KerstSpecial/RaceController.cs @@ -314,12 +314,12 @@ private void Update() //if (IsDebugOn && Keyboard.current[Key.End].wasPressedThisFrame) { // Finish(); //} - if (IsDebugOn && Keyboard.current[Key.Home].wasPressedThisFrame) - { - playerSpeed = 200; - playerOffRoadSpeed = 200; - } - //if (IsDebugOn && Keyboard.current[Key.PageUp].wasPressedThisFrame) + //if (IsDebugOn && Keyboard.current[Key.Home].wasPressedThisFrame) + //{ + // playerSpeed = 200; + // playerOffRoadSpeed = 200; + //} + ////if (IsDebugOn && Keyboard.current[Key.PageUp].wasPressedThisFrame) //{ // player.GetComponent().enabled = false; //}