fix(levels): time is not defined #5

Merged
bedohswe merged 2 commits from n3tael/p3he:main into main 2024-04-04 19:21:39 +00:00
Showing only changes of commit 799165b225 - Show all commits

View File

@ -97,7 +97,7 @@ def mainLoop():
for i in drawn: for i in drawn:
pygame.draw.rect(display,i.color, (n,int((1 - cap(i.height)) * 360),8,int(cap(i.height) * 1280))) pygame.draw.rect(display,i.color, (n,int((1 - cap(i.height)) * 360),8,int(cap(i.height) * 1280)))
n += 4 n += 4
gPlayer.normalize()
if debugInfo: if debugInfo:
fps_surf, cPos_surf, cRot_surf = renderDebugInfo(gPlayer, clock, fontSize) fps_surf, cPos_surf, cRot_surf = renderDebugInfo(gPlayer, clock, fontSize)