Fixed error on saving games