diff options
author | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-01 23:24:19 -0500 |
---|---|---|
committer | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-01 23:24:19 -0500 |
commit | c37d34a2707f54d766a832ffba2fb406397746c7 (patch) | |
tree | 98b7e4afd7bdd7d0b23d26ad2a2bda6ea8667f25 | |
parent | d12677b49c31e27d779bdfa0f1811a9eb2413ffd (diff) | |
download | SMAPI-c37d34a2707f54d766a832ffba2fb406397746c7.tar.gz SMAPI-c37d34a2707f54d766a832ffba2fb406397746c7.tar.bz2 SMAPI-c37d34a2707f54d766a832ffba2fb406397746c7.zip |
users shouldnt execute experimental code
-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 |