game: fix var scope (refs #56)
game: fix var scope (refs #56)