Update app.py
Browse files
app.py
CHANGED
@@ -52,4 +52,4 @@ def update(deltaTime):
|
|
52 |
global head, tail, food_positions, food_manager
|
53 |
while deltaTime > 0:
|
54 |
current_state = check_collision()
|
55 |
-
if food_manager.amount and all(not c[-1] for c in food_
|
|
|
52 |
global head, tail, food_positions, food_manager
|
53 |
while deltaTime > 0:
|
54 |
current_state = check_collision()
|
55 |
+
if food_manager.amount and all(not c[-1] for c in food_)
|