fixed doors

This commit is contained in:
Lukas Nöllemeyer 2024-08-19 20:19:33 +02:00
parent 200a0a4996
commit e3dfc649d4
3 changed files with 4 additions and 8 deletions

View file

@ -47,7 +47,8 @@ class SelectItem(MenuItem):
def on_draw(self, console: tcod.console.Console, x: int, y: int, highlight: bool) -> None:
"""Render this items label."""
console.print(x, y, self.label, fg=(255, 255, 255), bg=(64, 64, 64) if highlight else (0, 0, 0))
#g.foreground.print(x, y, self.label, fg=(255, 255, 255), bg=(64, 64, 64) if highlight else (0, 0, 0))
g.background.print(x, y, self.label, fg=(255, 255, 255), bg=(64, 64, 64) if highlight else (0, 0, 0))
@attrs.define()