Mercurial > skaapsteker
changeset 600:50ba0275a3a3 pyweek12
Remove don't crash if we're colliding with a player after being bounced off the floor
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sun, 10 Apr 2011 18:39:18 +0200 |
parents | 64992d05f523 |
children | 73bdeb3d3f7e |
files | skaapsteker/sprites/base.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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]