PEP8 fixes.
authorSimon Cross <hodgestar@gmail.com>
Sat, 5 Mar 2016 21:57:16 +0000 (23:57 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sat, 5 Mar 2016 21:57:16 +0000 (23:57 +0200)
koperkapel/scenes/level.py

index 6845ea2fcac2b7e6326029c77d9de3e2812625cf..ca20f732a75f2d5d2f88a22e062e69d60f768ab3 100644 (file)
@@ -241,9 +241,9 @@ class GameLevelScene(BaseLevelScene):
         x, y = self._player_pos
 
         old_vehicle = world.vehicles.current
-        
+
         item = self._level.item_at(x, y)
-        
+
         if item and item.item_type == "vehicle":
             world.vehicles.current = item.item_data["vehicle"]
             self._level.remove_item(item)
@@ -252,7 +252,8 @@ class GameLevelScene(BaseLevelScene):
             world.vehicles.current = "walking"
 
         if old_vehicle != "walking":
-            dropped_vehicle = create_new_item("vehicle", (x, y), vehicle=old_vehicle)
+            dropped_vehicle = create_new_item(
+                "vehicle", (x, y), vehicle=old_vehicle)
             self._level.items.append(dropped_vehicle)
             self._items.add(dropped_vehicle)