Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed May 15, 2024
1 parent e1fc863 commit a53f1ef
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion Fika.Core/Coop/BotClasses/CoopBotHealthController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

using EFT;
using EFT.HealthSystem;
using EFT.UI;
using Fika.Core.Coop.Players;

namespace Fika.Core.Coop.ClientClasses
Expand Down
4 changes: 2 additions & 2 deletions Fika.Core/Coop/GameMode/CoopGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ private async Task SendOrReceiveSpawnPoint()
UpdateSpawnPointRequest body = new(spawnTogether ? spawnPoint.Id : "");
if (spawnTogether)
{
Logger.LogInfo($"Setting Spawn Point to: {spawnPoint.Id}");
Logger.LogInfo($"Setting Spawn Point to: {spawnPoint.Id}");
}
else
{
Expand All @@ -611,7 +611,7 @@ private async Task SendOrReceiveSpawnPoint()
{
spawnPoint = spawnPointObject;
}
}
}
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion Fika.Core/Coop/Players/CoopBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private IEnumerator WaitForPlayersToLoadBot()
if (!MovementContext.IsGrounded)
{
FikaPlugin.Instance.FikaLogger.LogWarning($"{gameObject.name} was still not grounded after being loaded in! Forcing to be grounded.");
MovementContext.IsGrounded = true;
MovementContext.IsGrounded = true;
}
#if DEBUG
FikaPlugin.Instance.FikaLogger.LogWarning($"{gameObject.name} is now grounded, started at Y: {randomY}, now at {Position.ToStringVerbose()}");
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 @@ -99,7 +99,7 @@ public static async Task<LocalPlayer> Create(
achievementsController.Init();
achievementsController.Run();
}

IStatisticsManager statisticsManager = new CoopClientStatisticsManager(player.Profile);

await player.Init(rotation, layerName, pointOfView, profile, inventoryController,
Expand Down
1 change: 0 additions & 1 deletion Fika.Core/Networking/FikaClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using EFT.Weather;
using Fika.Core.Coop.Components;
using Fika.Core.Coop.GameMode;
using Fika.Core.Coop.Matchmaker;
using Fika.Core.Coop.Players;
using Fika.Core.Modding;
using Fika.Core.Modding.Events;
Expand Down

0 comments on commit a53f1ef

Please sign in to comment.