Added logic to redirect if game is not running.