Browse Source

Fix flake8 warnings

master
Elis Axelsson 4 years ago
parent
commit
86b7fc02c3
  1. 5
      watersteal.py

5
watersteal.py

@ -1,6 +1,7 @@
#!/usr/bin/env python3
import sys, pygame
import sys
import pygame
from classes.bucket import Bucket
from classes.player import Player
@ -72,7 +73,7 @@ while True:
if event.type == pygame.KEYUP:
# Stop player if no key is pressed
if (pressedKeys[pygame.K_RIGHT] + pressedKeys[pygame.K_LEFT]) == 0:
playerspeed = 0;
playerspeed = 0
if event.type == pygame.QUIT:
sys.exit()

Loading…
Cancel
Save