diff options
| author | Sarah Bradley <git@sarahduck.ca> | 2023-12-25 16:24:47 -0800 |
|---|---|---|
| committer | Sarah Bradley <git@sarahduck.ca> | 2023-12-25 16:24:47 -0800 |
| commit | f6100c020613de7980861b7d77f4c37e1a65a025 (patch) | |
| tree | a73f5a0b0f133a34bfd0e171cf7af01d43e72279 /OnekoNet.cs | |
| parent | 626c005b5217b70089fdd6956f2736f600015026 (diff) | |
Added image size limits
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 6bee562..81829c8 100644 --- a/OnekoNet.cs +++ b/OnekoNet.cs @@ -44,7 +44,7 @@ class OnekoNet : Oneko public static void SpawnNetNeko(ClientUser user) { if (!user.SpectatorMode && !NetNekos.ContainsKey(user.Id)) { - Bitmap spriteSheet = Bitmap.Deserialize(user.SpriteSheet); + Bitmap spriteSheet = Bitmap.Deserialize(user.SpriteSheet, 256, 128, FallbackImg); NetNekos.Add(user.Id, new OnekoNet(spriteSheet, user)); } } |
