diff --git a/Release/Mods/TrainerMod.dll b/Release/Mods/TrainerMod.dll index d30355e9..604ebd5d 100644 Binary files a/Release/Mods/TrainerMod.dll and b/Release/Mods/TrainerMod.dll differ diff --git a/Release/StardewModdingAPI.exe b/Release/StardewModdingAPI.exe index 6761f582..12f38346 100644 Binary files a/Release/StardewModdingAPI.exe and b/Release/StardewModdingAPI.exe differ diff --git a/StardewModdingAPI/Program.cs b/StardewModdingAPI/Program.cs index af765f97..01075370 100644 --- a/StardewModdingAPI/Program.cs +++ b/StardewModdingAPI/Program.cs @@ -49,7 +49,7 @@ namespace StardewModdingAPI public static Thread gameThread; public static Thread consoleInputThread; - public const string Version = "0.3x Alpha"; + public const string Version = "0.32 Alpha"; public const bool debug = false; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -329,14 +329,20 @@ namespace StardewModdingAPI static void Events_LocationsChanged(List newLocations) { - SGame.ModLocations = SGameLocation.ConvertGameLocations(Game1.locations); + if (debug) + { + SGame.ModLocations = SGameLocation.ConvertGameLocations(Game1.locations); + } } static void Events_CurrentLocationChanged(GameLocation newLocation) { //SGame.CurrentLocation = null; //System.Threading.Thread.Sleep(10); - SGame.CurrentLocation = SGame.ModLocations.First(x => x.name == newLocation.name); + if (debug) + { + SGame.CurrentLocation = SGame.ModLocations.First(x => x.name == newLocation.name); + } //Game1.currentLocation = SGame.CurrentLocation; //LogInfo(((SGameLocation) newLocation).name); //LogInfo("LOC CHANGED: " + SGame.currentLocation.name); diff --git a/TrainerMod/bin/Debug/TrainerMod.dll b/TrainerMod/bin/Debug/TrainerMod.dll index d30355e9..604ebd5d 100644 Binary files a/TrainerMod/bin/Debug/TrainerMod.dll and b/TrainerMod/bin/Debug/TrainerMod.dll differ diff --git a/TrainerMod/obj/Debug/TrainerMod.dll b/TrainerMod/obj/Debug/TrainerMod.dll index d30355e9..604ebd5d 100644 Binary files a/TrainerMod/obj/Debug/TrainerMod.dll and b/TrainerMod/obj/Debug/TrainerMod.dll differ