Skip to content

Commit

Permalink
Assign standard NetId of 1000 to clients
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed May 6, 2024
1 parent 81361c0 commit df2041d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fika.Core/Coop/GameMode/CoopGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ public override async Task<LocalPlayer> vmethod_2(int playerId, Vector3 position
LocalPlayer myPlayer = await CoopPlayer.Create(playerId, spawnPoint.Position, spawnPoint.Rotation, "Player", "Main_", EPointOfView.FirstPerson, profile,
false, UpdateQueue, Player.EUpdateMode.Auto, Player.EUpdateMode.Auto,
GClass549.Config.CharacterController.ClientPlayerMode, () => Singleton<SharedGameSettingsClass>.Instance.Control.Settings.MouseSensitivity,
() => Singleton<SharedGameSettingsClass>.Instance.Control.Settings.MouseAimingSensitivity, new GClass1445(), 0, questController);
() => Singleton<SharedGameSettingsClass>.Instance.Control.Settings.MouseAimingSensitivity, new GClass1445(), MatchmakerAcceptPatches.IsServer ? 0 : 1000, questController);

profile.SetSpawnedInSession(profile.Side == EPlayerSide.Savage);

Expand Down

0 comments on commit df2041d

Please sign in to comment.