diff options
| author | Sarah Bradley <git@sarahduck.ca> | 2023-12-25 02:02:09 -0800 |
|---|---|---|
| committer | Sarah Bradley <git@sarahduck.ca> | 2023-12-25 02:02:09 -0800 |
| commit | 626c005b5217b70089fdd6956f2736f600015026 (patch) | |
| tree | 8452f877da31d9c3fb2f0b2728f3b3c8ab9bc14a | |
| parent | 828672047ffd306f78b93f11c3d9a8dfafa3d653 (diff) | |
Fixed cursor sprite networking
| -rw-r--r-- | Mouse.cs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,9 +20,9 @@ abstract class Mouse : Drawable DrawOrder = 100; allMice.Add(this); - string CursorPath = "mddisc/cursor.png"; + string CursorPath = OnekoOnline.Config.GetValue("CursorSpritePath", "misc/cursor.png"); - if (File.Exists(CursorPath) && new FileInfo(CursorPath).Length < 12*19*3) { + if (File.Exists(CursorPath) && new FileInfo(CursorPath).Length < 2500) { Cursor = Bitmap.FromPNGMemory(File.ReadAllBytes(CursorPath)); } else { Console.WriteLine("The cursor PNG was either mising or too big. Using the default."); |
