sillypantscoder / pygame_platformer_2

Pygame Platformer 2
2 stars 0 forks source link

Crash while playing in sandscape #11

Closed augustoroman closed 2 years ago

augustoroman commented 2 years ago

broked

pygame 2.1.2 (SDL 2.0.18, Python 3.10.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "/Users/aroman/code/pygame_platformer_2/main.py", line 528, in <module>
    t.tick()
  File "/Users/aroman/code/pygame_platformer_2/main.py", line 211, in tick
    explosion(x, y, 2)
  File "/Users/aroman/code/pygame_platformer_2/main.py", line 172, in explosion
    explosion(*l, 2)
  File "/Users/aroman/code/pygame_platformer_2/main.py", line 151, in explosion
    if BLOCKS[WORLD[x][y]]["collision"] == "explode":
KeyError: 'fall'
sillypantscoder commented 2 years ago

Worked