File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,6 @@ bool ActivityMan::SaveCurrentGame(const std::string& fileName) {
76
76
m_SaveGameTask.wait ();
77
77
m_SaveGameTask = BS::multi_future<void >();
78
78
79
- // Might not be strictly necessary?
80
- g_ThreadMan.GetPriorityThreadPool ().wait_for_tasks ();
81
- g_ThreadMan.GetBackgroundThreadPool ().wait_for_tasks ();
82
-
83
79
Scene* scene = g_SceneMan.GetScene ();
84
80
GAScripted* activity = dynamic_cast <GAScripted*>(GetActivity ());
85
81
@@ -155,9 +151,6 @@ bool ActivityMan::SaveCurrentGame(const std::string& fileName) {
155
151
bool ActivityMan::LoadAndLaunchGame (const std::string& fileName) {
156
152
m_SaveGameTask.wait ();
157
153
158
- g_ThreadMan.GetPriorityThreadPool ().wait_for_tasks ();
159
- g_ThreadMan.GetBackgroundThreadPool ().wait_for_tasks ();
160
-
161
154
std::string saveFilePath = g_PresetMan.GetFullModulePath (c_UserScriptedSavesModuleName) + " /" + fileName + " /Save.ini" ;
162
155
163
156
if (!std::filesystem::exists (saveFilePath)) {
You can’t perform that action at this time.
0 commit comments