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