Skip to content

Commit

Permalink
fix gap between obstacles
Browse files Browse the repository at this point in the history
  • Loading branch information
bydariogamer committed Jan 6, 2023
1 parent 518c387 commit 79ca300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion level.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def adjust_frequency_to_aim(frequency, aim):
Obstacle(
int(config.PLAYER_POS_X + index * block_wid),
floor_pos - block_hei * block,
int(block_wid),
int((index + 1) * block_wid) - int(index * block_wid),
block_hei * block,
)
)
Expand Down

0 comments on commit 79ca300

Please sign in to comment.