mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
emergency hotfix
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user