That... seems like a really, really bad way to have coded the game. I mean, if it’s possible for you to typo something as significant as that, and have it still compile and launch, and thus be missed during development?
If it’s possible for software to behave inappropriately due to a typo, you do not *allow* typos.