$gameSystem.onBeforeSave(); DataManager.saveGame(n)