emergency hotfix

This commit is contained in:
Anthony Samms
2025-11-20 18:04:45 -05:00
parent cf2b5f07a6
commit 2cf3be9378

View File

@@ -87,7 +87,10 @@ class Background:
self.width = width self.width = width
def draw(self): def draw(self):
x = 0 x = 0
footer_height = tex.textures["background"][f"footer_{self.player_num}p"].height if self.player_num == 3:
footer_height = tex.textures["background"]["footer_1p"].height
else:
footer_height = tex.textures["background"][f"footer_{self.player_num}p"].height
if self.player_num == PlayerNum.TWO_PLAYER: if self.player_num == PlayerNum.TWO_PLAYER:
while x < self.width: while x < self.width:
tex.draw_texture('background', 'background_1p', x=x, y=-(tex.screen_height//2)) tex.draw_texture('background', 'background_1p', x=x, y=-(tex.screen_height//2))