# HG changeset patch # User Neil Muller # Date 1302453558 -7200 # Node ID 1386cae4cc15a1e64cc35752a97077d58fde8a7d # Parent 87947e4afa023f4acfd66874835609f06e8bd18d Remove don't crash if we're colliding with a player after being bounced off the floor diff -r 87947e4afa02 -r 1386cae4cc15 skaapsteker/sprites/base.py --- a/skaapsteker/sprites/base.py Sun Apr 10 18:31:06 2011 +0200 +++ b/skaapsteker/sprites/base.py Sun Apr 10 18:39:18 2011 +0200 @@ -254,7 +254,7 @@ def check_floors(self, floors): """If we're only on 1 floor tile, and our centre is beyond half way, turn back""" - if len(floors) > 1: + if len(floors) != 1: return floor = floors[0]