Fixed a bug preventing restarting after a loss