fix(levels): time is not defined #5
2
main.py
2
main.py
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user