Update game.js

Redirect bug fixed