summaryrefslogtreecommitdiff
path: root/NetClient.cs
diff options
context:
space:
mode:
Diffstat (limited to 'NetClient.cs')
-rw-r--r--NetClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/NetClient.cs b/NetClient.cs
index f7d14a1..ce7d8fe 100644
--- a/NetClient.cs
+++ b/NetClient.cs
@@ -6,7 +6,7 @@ namespace OnekoOnline.Net;
class Client
{
- public readonly string UserName = OnekoOnline.Config.GetValue("UserName", "Oneko");
+ public static readonly string UserName = OnekoOnline.Config.GetValue("UserName", "Oneko");
public int Id {get; private set;} = -1;
public bool Connected => NetClient?.ConnectedPeersCount > 0 && Id != -1;