diff options
| author | Sarah Bradley <git@sarahduck.ca> | 2023-12-25 01:50:06 -0800 |
|---|---|---|
| committer | Sarah Bradley <git@sarahduck.ca> | 2023-12-25 01:50:06 -0800 |
| commit | 828672047ffd306f78b93f11c3d9a8dfafa3d653 (patch) | |
| tree | 06cc9c9ef7c4554574ee3855dd681fd88b8b408a /OnekoNet.cs | |
| parent | ff3cbc5b49f8618531c5778d69b49c0aa4a9442a (diff) | |
Added spectator mode, and fixed some networking issues
Diffstat (limited to 'OnekoNet.cs')
| -rw-r--r-- | OnekoNet.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OnekoNet.cs b/OnekoNet.cs index ee780c6..6bee562 100644 --- a/OnekoNet.cs +++ b/OnekoNet.cs @@ -43,7 +43,7 @@ class OnekoNet : Oneko public static void SpawnNetNeko(ClientUser user) { - if (!NetNekos.ContainsKey(user.Id)) { + if (!user.SpectatorMode && !NetNekos.ContainsKey(user.Id)) { Bitmap spriteSheet = Bitmap.Deserialize(user.SpriteSheet); NetNekos.Add(user.Id, new OnekoNet(spriteSheet, user)); } |
