Fixed rare TryFindBestBetterStoreCellFor errors, added better exception handling for drawing errors thrown by other mods
Those log messages now include things and the position where drawing fails Plant printing was slightly improved further too, correctly handling theoretical hydroponics of sizes above 20 now
This commit is contained in:
@@ -24,4 +24,6 @@ public record struct CellIndex(int Value)
|
||||
public bool IsFogged(Map map) => map.fogGrid.fogGrid[Value];
|
||||
|
||||
public float GetSnowDepth(Map map) => map.snowGrid.depthGrid[Value];
|
||||
|
||||
public Building? GetEdifice(Map map) => map.edificeGrid[Value];
|
||||
}
|
||||
Reference in New Issue
Block a user