fixed bug in game.py