From f014a4ac51f7458eb156dc823eb3cbb11c3335de Mon Sep 17 00:00:00 2001 From: Sam Byass Date: Tue, 29 Jan 2019 14:21:38 +0000 Subject: [PATCH] Fix multiplayer incompatibility. --- .../.idea/contentModel.xml | 6 +- .../.idea.BetterLoading/.idea/workspace.xml | 344 +++++++++--------- Source/BetterLoadingMain.cs | 8 +- 3 files changed, 180 insertions(+), 178 deletions(-) diff --git a/Source/.idea/.idea.BetterLoading/.idea/contentModel.xml b/Source/.idea/.idea.BetterLoading/.idea/contentModel.xml index 3695212..3d96cdc 100644 --- a/Source/.idea/.idea.BetterLoading/.idea/contentModel.xml +++ b/Source/.idea/.idea.BetterLoading/.idea/contentModel.xml @@ -2,9 +2,9 @@ - - - + + + diff --git a/Source/.idea/.idea.BetterLoading/.idea/workspace.xml b/Source/.idea/.idea.BetterLoading/.idea/workspace.xml index 315366d..8f9b8b5 100644 --- a/Source/.idea/.idea.BetterLoading/.idea/workspace.xml +++ b/Source/.idea/.idea.BetterLoading/.idea/workspace.xml @@ -2,7 +2,6 @@ - @@ -52,88 +51,89 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -142,7 +142,7 @@ - + @@ -158,9 +158,9 @@ - + @@ -184,11 +184,11 @@ - - + + @@ -236,12 +236,13 @@ - + + - @@ -256,7 +257,7 @@ - + @@ -349,7 +350,7 @@ - + @@ -360,88 +361,89 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/BetterLoadingMain.cs b/Source/BetterLoadingMain.cs index 7bf288e..b85032a 100644 --- a/Source/BetterLoadingMain.cs +++ b/Source/BetterLoadingMain.cs @@ -418,10 +418,10 @@ public static void Prefix(Map __instance) Manager.mapIndexSpawningItems++; //Reflection, fuck yeah! - Manager.numObjectsToSpawnCurrentMap = __instance.compressor.ThingsToSpawnAfterLoad().Count() + - Traverse.Create(__instance).Field>("loadedFullThings") - .Value.Count; - Manager.numObjectsSpawnedCurrentMap = 0; +// Manager.numObjectsToSpawnCurrentMap = __instance.compressor.ThingsToSpawnAfterLoad().Count() + +// Traverse.Create(__instance).Field>("loadedFullThings") +// .Value.Count; +// Manager.numObjectsSpawnedCurrentMap = 0; } }