Fixed Game Logic Bug