public void SaveGame(string saveName) { if (!PersistanceHelper.IsValidFilename(saveName)) { statusText.SetStatus("The given name is invalid for save.", 2f); return; } Thread loadingThread = new Thread(() => StartSave(ObjectManager.CurrentGEM.GameStorageName, saveName, ObjectManager.CurrentGEM)); isSaveInAction = true; loadingThread.Start(); }