Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Jul 7, 2024
1 parent b717fa8 commit a45662c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Fika.Core/Coop/BTR/FikaBTRManager_Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using EFT.AssetsManager;
using EFT.GlobalEvents;
using EFT.InventoryLogic;
using EFT.UI;
using EFT.Vehicle;
using Fika.Core.Coop.Components;
using Fika.Core.Coop.Players;
Expand Down Expand Up @@ -426,7 +425,7 @@ private void DisableServerSideObjects()
Collider clientRootCollider = clientColliders.First(x => x.gameObject.name == "Root");

// Retrieve all TerrainColliders
List<TerrainCollider> terrainColliders = new List<TerrainCollider>();
List<TerrainCollider> terrainColliders = new();

foreach (GPUInstancerManager manager in GPUInstancerManager.activeManagerList)
{
Expand Down
2 changes: 1 addition & 1 deletion Fika.Core/Coop/BTR/FikaBTRManager_Host.cs
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ private void DisableServerSideObjects()
Collider clientRootCollider = clientColliders.First(x => x.gameObject.name == "Root");

// Retrieve all TerrainColliders
List<TerrainCollider> terrainColliders = new List<TerrainCollider>();
List<TerrainCollider> terrainColliders = new();

foreach (GPUInstancerManager manager in GPUInstancerManager.activeManagerList)
{
Expand Down
3 changes: 1 addition & 2 deletions Fika.Core/Coop/GameMode/CoopGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
using LiteNetLib.Utils;
using Newtonsoft.Json;
using SPT.Common.Http;
using SPT.Reflection.Utils;
using SPT.SinglePlayer.Models.Progression;
using SPT.SinglePlayer.Utils.Healing;
using SPT.SinglePlayer.Utils.Insurance;
Expand Down Expand Up @@ -1054,7 +1053,7 @@ private async Task<Player> CreateLocalPlayer()
UpdateQueue, eupdateMode, Player.EUpdateMode.Auto, BackendConfigAbstractClass.Config.CharacterController.ClientPlayerMode,
new Func<float>(Class1384.class1384_0.method_3), new Func<float>(Class1384.class1384_0.method_4),
statisticsManager, null, null);

myPlayer.OnEpInteraction += OnEpInteraction;

return myPlayer;
Expand Down
2 changes: 1 addition & 1 deletion Fika.Core/Coop/Players/CoopPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ await player.Init(rotation, layerName, pointOfView, profile, inventoryController

player._animators[0].enabled = true;

player.Profile.Info.MainProfileNickname = FikaBackendUtils.PMCName;
player.Profile.Info.MainProfileNickname = FikaBackendUtils.PMCName;

return player;
}
Expand Down

0 comments on commit a45662c

Please sign in to comment.