We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5613128 commit 8374dc1Copy full SHA for 8374dc1
src/ModLoader.cs
@@ -369,16 +369,7 @@ internal static void Load(JObject gameLogicdata)
369
"mountain" => new(0.5f, -0.375f),
370
_ => new(0.5f, 0.5f),
371
};
372
- float pixelsPerUnit = name.Split("_")[0] switch
373
- {
374
- "field" => 256f,
375
- "forest" => 280f,
376
- "mountain" => 240f,
377
- "game" => 512f,
378
- "fruit" => 256f,
379
- "house" => 300f,
380
- _ => 2112f,
381
- };
+ float pixelsPerUnit = 2112f;
382
if (spriteDatas.ContainsKey(name))
383
{
384
DataSprite spriteData = spriteDatas[name];
0 commit comments