Skip to content

Commit

Permalink
Fixed CanDrawLand
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczy93 committed Oct 6, 2024
1 parent 224a2c8 commit 404a4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CentrED/Map/MapManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ public Vector3 Unproject(int x, int y, int z)

private bool CanDrawLand(LandObject lo)
{
if(lo.Tile.Id <= 2 && !ShowNoDraw)
if(!ShowLand || (lo.Tile.Id <= 2 && !ShowNoDraw))
return false;
return WithinZRange(lo.Tile.Z);
}
Expand Down

0 comments on commit 404a4eb

Please sign in to comment.