Skip to content

Commit

Permalink
Remove references to old 'screen' to match latest ChamberCourt
Browse files Browse the repository at this point in the history
  • Loading branch information
rrthomas committed Jan 12, 2025
1 parent b25a570 commit d722e75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wincoll/wincoll_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,14 @@ def fall(oldpos: Vector2, newpos: Vector2) -> None:

def show_status(self) -> None:
super().show_status()
self.screen.surface.blit(
self.surface.blit(
DIAMOND_IMAGE,
(
(self.window_pos[0] - self.screen.font_pixels) // 2,
int(1.5 * self.screen.font_pixels),
(self.window_pos[0] - self.font_pixels) // 2,
int(1.5 * self.font_pixels),
),
)
self.screen.print_screen(
self.print_screen(
(0, 3),
str(self.diamonds),
width=self.window_pos[0],
Expand Down

0 comments on commit d722e75

Please sign in to comment.