# HG changeset patch # User Neil Muller # Date 1302453558 -7200 # Node ID 50ba0275a3a3a3466329562a90581d62db5e7a53 # Parent 64992d05f5231dc12323a9951478577d5a79d139 Remove don't crash if we're colliding with a player after being bounced off the floor diff -r 64992d05f523 -r 50ba0275a3a3 skaapsteker/sprites/base.py --- a/skaapsteker/sprites/base.py Sun Apr 10 19:57:21 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]