Skip to content

Commit

Permalink
Update code format
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Dec 16, 2024
1 parent 97b9396 commit 6c33f8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Fika.Core/Coop/Components/CoopHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ private ObservedCoopPlayer SpawnObservedPlayer(SpawnObject spawnObject)

// Check for GClass increments on filter
ObservedCoopPlayer otherPlayer = ObservedCoopPlayer.CreateObservedPlayer(LocalGameInstance.GameWorld_0, netId, position, Quaternion.identity, "Player",
isAi == true ? "Bot_" : $"Player_{profile.Nickname}_", EPointOfView.ThirdPerson, profile, healthBytes, isAi,
isAi ? "Bot_" : $"Player_{profile.Nickname}_", EPointOfView.ThirdPerson, profile, healthBytes, isAi,
EUpdateQueue.Update, Player.EUpdateMode.Manual, Player.EUpdateMode.Auto,
BackendConfigAbstractClass.Config.CharacterController.ObservedPlayerMode, FikaGlobals.GetOtherPlayerSensitivity, FikaGlobals.GetOtherPlayerSensitivity,
GClass1599.Default, firstId, firstOperationId, isZombie).Result;
Expand Down
2 changes: 1 addition & 1 deletion Fika.Core/Coop/Factories/PingFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public virtual void Initialize(ref Vector3 point, Object userObject, Color pingC
float distance = Mathf.Clamp(Vector3.Distance(CameraClass.Instance.Camera.transform.position, transform.position) / 100, 0.4f, 0.6f);
float pingSize = FikaPlugin.PingSize.Value;
Vector3 scaledSize = new(pingSize, pingSize, pingSize);
if (FikaPlugin.PingScaleWithDistance.Value == true)
if (FikaPlugin.PingScaleWithDistance.Value)
{
scaledSize *= distance;
}
Expand Down

0 comments on commit 6c33f8d

Please sign in to comment.