fix parenthesis at wrong places

This commit is contained in:
Gurge44 committed 2026-04-09 08:21:06 +02:00
1 parent c7b6dc5d16
commit 7c8c5ce293
1 file changed
+2 -2
+2 -2
View File
@@ -41,8 +41,8 @@ internal static class ControllerManagerUpdatePatch
if (PlayerControl.LocalPlayer)
{
bool shouldNoclip =
NoClipEnabled || (Input.GetKey(KeyCode.LeftControl) &&
(!AmongUsClient.Instance.IsGameStarted || !GameStates.IsOnlineGame) && PlayerControl.LocalPlayer.CanMove);
(NoClipEnabled || Input.GetKey(KeyCode.LeftControl)) &&
(!AmongUsClient.Instance.IsGameStarted || !GameStates.IsOnlineGame) && PlayerControl.LocalPlayer.CanMove;
PlayerControl.LocalPlayer.Collider.offset = shouldNoclip ? new Vector2(0f, 127f) : new Vector2(0f, -0.3636f);
}