Skip to content

Commit

Permalink
Run cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchangelWTF committed Oct 8, 2024
1 parent 89a55e9 commit 1819d8e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Fika.Core/Networking/Websocket/FikaNotificationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private void WebSocket_OnMessage(object sender, MessageEventArgs e)
case EFikaNotifications.StartedRaid:
StartRaidNotification startRaidNotification = e.Data.ParseJsonTo<StartRaidNotification>(Array.Empty<JsonConverter>());

if(FikaGlobals.IsInRaid())
if (FikaGlobals.IsInRaid())
{
return;
}
Expand All @@ -129,7 +129,7 @@ private void WebSocket_OnMessage(object sender, MessageEventArgs e)
ReceivedSentItemNotification SentItemNotification = e.Data.ParseJsonTo<ReceivedSentItemNotification>(Array.Empty<JsonConverter>());

// If we are not the target, ignore.
if(SentItemNotification.TargetId != SessionId)
if (SentItemNotification.TargetId != SessionId)
{
return;
}
Expand All @@ -150,7 +150,7 @@ private IEnumerator ReconnectWebSocket()

while (true)
{
if(_webSocket.ReadyState == WebSocketState.Open)
if (_webSocket.ReadyState == WebSocketState.Open)
{
break;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using EFT.Communications;
using Newtonsoft.Json;
using System;

namespace Fika.Core.Networking.Websocket.Notifications
{
Expand Down
6 changes: 3 additions & 3 deletions Fika.Core/UI/Patches/TarkovApplication_method_18_Patch.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using EFT;
using Comfort.Common;
using EFT;
using EFT.UI;
using Fika.Core.Networking.Websocket;
using SPT.Reflection.Patching;
using System.Reflection;
using Comfort.Common;
using EFT.UI;

namespace Fika.Core.UI.Patches
{
Expand Down

0 comments on commit 1819d8e

Please sign in to comment.