mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
fix parenthesis at wrong places
This commit is contained in:
1 parent
c7b6dc5d16
commit
7c8c5ce293
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user