Fix: AnySolidTileInSelection always returns false due to inverted logic (#97)

Fix: Correct inverted logic in AnySolidTileInSelection
(cherry picked from commit 2af0577f7d0ee5712a03465e2fde87346b990281)
This commit is contained in:
CactusDuper authored and Stephen Thiebaud committed 2025-11-13 13:08:29 -06:00
1 parent 2367153502
commit be0cb77e68
1 file changed
+1 -1
+1 -1
View File
@@ -303,7 +303,7 @@ namespace CalamityMod
{
for (int j = y; j != y + height; j += Math.Sign(height))
{
if (WorldGen.InWorld(i, j))
if (!WorldGen.InWorld(i, j))
continue;
if (WorldGen.SolidTile(Framing.GetTileSafely(i, j)))