Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.

Commit e5e9e46

Browse files
committed
Update SendInGamePatch.cs
1 parent b22a554 commit e5e9e46

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/Other_code/SendInGamePatch.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11

2+
using Discord;
3+
24
namespace ChatTool;
35

4-
public class SendInGamePatch
6+
public class SIGP
57
{
6-
public static void SendInGame(string text)
8+
public static void SIGD(string text)
9+
{
10+
if (DestroyableSingleton<HudManager>._instance)
11+
HudManager.Instance.Notifier.AddDisconnectMessage(text);
12+
}
13+
public static void SIGM(string text)
714
{
815
if (DestroyableSingleton<HudManager>._instance)
916
HudManager.Instance.Notifier.AddDisconnectMessage(text);

0 commit comments

Comments
 (0)