Skip to content

Commit

Permalink
disable cheat
Browse files Browse the repository at this point in the history
  • Loading branch information
bozmir committed Dec 20, 2024
1 parent 7c9b2e9 commit af19753
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Assets/Scripts/KerstSpecial/RaceController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<AudioSource>().enabled = false;
//}
Expand Down

0 comments on commit af19753

Please sign in to comment.