Fix formatting on condition main:212

This commit is contained in:
Cameron Smart
2020-04-20 14:03:59 -07:00
parent 6b74629a57
commit 03d4cd7743

View File

@@ -209,8 +209,12 @@ class Game(arcade.Window):
bullet.remove_from_sprite_lists()
# If the bullet flies off-screen, remove it. TEMP change to range calc
if (bullet.bottom < self.view_bottom or bullet.top > self.view_bottom+Config.SCREEN_HEIGHT
or bullet.right > self.view_left+Config.SCREEN_WIDTH or bullet.left < self.view_left):
if (
bullet.bottom < self.view_bottom or
bullet.top > self.view_bottom+Config.SCREEN_HEIGHT or
bullet.right > self.view_left+Config.SCREEN_WIDTH or
bullet.left < self.view_left
):
bullet.remove_from_sprite_lists()