diff options
-rw-r--r-- | Release/Mods/TrainerMod.dll | bin | 23040 -> 23040 bytes | |||
-rw-r--r-- | Release/StardewModdingAPI.exe | bin | 58368 -> 57856 bytes | |||
-rw-r--r-- | StardewModdingAPI/Program.cs | 12 | ||||
-rw-r--r-- | TrainerMod/bin/Debug/TrainerMod.dll | bin | 23040 -> 23040 bytes | |||
-rw-r--r-- | TrainerMod/obj/Debug/TrainerMod.dll | bin | 23040 -> 23040 bytes |
5 files changed, 9 insertions, 3 deletions
diff --git a/Release/Mods/TrainerMod.dll b/Release/Mods/TrainerMod.dll Binary files differindex d30355e9..604ebd5d 100644 --- a/Release/Mods/TrainerMod.dll +++ b/Release/Mods/TrainerMod.dll diff --git a/Release/StardewModdingAPI.exe b/Release/StardewModdingAPI.exe Binary files differindex 6761f582..12f38346 100644 --- a/Release/StardewModdingAPI.exe +++ b/Release/StardewModdingAPI.exe 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<GameLocation> 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 Binary files differindex d30355e9..604ebd5d 100644 --- a/TrainerMod/bin/Debug/TrainerMod.dll +++ b/TrainerMod/bin/Debug/TrainerMod.dll diff --git a/TrainerMod/obj/Debug/TrainerMod.dll b/TrainerMod/obj/Debug/TrainerMod.dll Binary files differindex d30355e9..604ebd5d 100644 --- a/TrainerMod/obj/Debug/TrainerMod.dll +++ b/TrainerMod/obj/Debug/TrainerMod.dll |