summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoryn Aaron <zoryn4163@gmail.com>2016-03-01 23:24:19 -0500
committerZoryn Aaron <zoryn4163@gmail.com>2016-03-01 23:24:19 -0500
commitc37d34a2707f54d766a832ffba2fb406397746c7 (patch)
tree98b7e4afd7bdd7d0b23d26ad2a2bda6ea8667f25
parentd12677b49c31e27d779bdfa0f1811a9eb2413ffd (diff)
downloadSMAPI-c37d34a2707f54d766a832ffba2fb406397746c7.tar.gz
SMAPI-c37d34a2707f54d766a832ffba2fb406397746c7.tar.bz2
SMAPI-c37d34a2707f54d766a832ffba2fb406397746c7.zip
users shouldnt execute experimental code
-rw-r--r--Release/Mods/TrainerMod.dllbin23040 -> 23040 bytes
-rw-r--r--Release/StardewModdingAPI.exebin58368 -> 57856 bytes
-rw-r--r--StardewModdingAPI/Program.cs12
-rw-r--r--TrainerMod/bin/Debug/TrainerMod.dllbin23040 -> 23040 bytes
-rw-r--r--TrainerMod/obj/Debug/TrainerMod.dllbin23040 -> 23040 bytes
5 files changed, 9 insertions, 3 deletions
diff --git a/Release/Mods/TrainerMod.dll b/Release/Mods/TrainerMod.dll
index d30355e9..604ebd5d 100644
--- a/Release/Mods/TrainerMod.dll
+++ b/Release/Mods/TrainerMod.dll
Binary files differ
diff --git a/Release/StardewModdingAPI.exe b/Release/StardewModdingAPI.exe
index 6761f582..12f38346 100644
--- a/Release/StardewModdingAPI.exe
+++ b/Release/StardewModdingAPI.exe
Binary files 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<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
index d30355e9..604ebd5d 100644
--- a/TrainerMod/bin/Debug/TrainerMod.dll
+++ b/TrainerMod/bin/Debug/TrainerMod.dll
Binary files differ
diff --git a/TrainerMod/obj/Debug/TrainerMod.dll b/TrainerMod/obj/Debug/TrainerMod.dll
index d30355e9..604ebd5d 100644
--- a/TrainerMod/obj/Debug/TrainerMod.dll
+++ b/TrainerMod/obj/Debug/TrainerMod.dll
Binary files differ