Skip to content

Commit

Permalink
(agrf) Fix doc layout offset
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyangyi committed Sep 21, 2024
1 parent 2018199 commit ccb47e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agrf/lib/building/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def graphics(self, scale, bpp, climate="temperate", subclimate="default"):
img = np.asarray(
self.climate_dependent_tiles[(climate, self.sprite + (26 if subclimate != "default" else 0))]
)
ret = LayeredImage(-128, 0, 256, 127, img[:, :, :3], img[:, :, 3], None)
ret = LayeredImage(-124, 0, 256, 127, img[:, :, :3], img[:, :, 3], None)
if scale == 4:
ret = ret.copy()
elif scale == 2:
Expand Down

0 comments on commit ccb47e0

Please sign in to comment.