game restarts appropriately, thanks Mathieu