Fix accidentally removal of function in Game.js