Fixed bug in previous commits (game function conflicted with a variable with the same name)