Check bullets and enemies are on the same level
[koperkapel.git] / koperkapel / gamelib / enemy_roach.py
index 83523b6d4fdd5caeb0c7dce1dd47ff91bbc00668..b09c3aa0f98af86c03169af0824f05935ddfc259 100644 (file)
@@ -15,6 +15,7 @@ def get_enemy_roach(level):
     roach.health = 5
     roach.angle = 0
     roach.level = level
+    roach.level_layer = 'floor'  # always the case for now
     roach.move = partial(move, roach)
     roach.last_moved = 0
     roach.last_attacked= 0