summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-04-01 12:39:04 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-04-05 15:00:14 -0400
commit780c3335e8b9377144c782834b24ebfaf0769f0e (patch)
treef49396c22dba88456f719ed1a818957a5fc032fe /src
parent37d5390ed0ef854abd7dac5cd1fb40c2d808ee1f (diff)
downloadSMAPI-780c3335e8b9377144c782834b24ebfaf0769f0e.tar.gz
SMAPI-780c3335e8b9377144c782834b24ebfaf0769f0e.tar.bz2
SMAPI-780c3335e8b9377144c782834b24ebfaf0769f0e.zip
rewrite references to Game1.currentMinigame broken by SDV 1.2
Diffstat (limited to 'src')
-rw-r--r--src/StardewModdingAPI/Constants.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Constants.cs b/src/StardewModdingAPI/Constants.cs
index 6091b864..c4051258 100644
--- a/src/StardewModdingAPI/Constants.cs
+++ b/src/StardewModdingAPI/Constants.cs
@@ -174,6 +174,7 @@ namespace StardewModdingAPI
// Stardew Valley 1.2
new FieldToPropertyRewriter(typeof(Game1), nameof(Game1.activeClickableMenu)),
+ new FieldToPropertyRewriter(typeof(Game1), nameof(Game1.currentMinigame)),
new FieldToPropertyRewriter(typeof(Game1), nameof(Game1.gameMode)),
new FieldToPropertyRewriter(typeof(Game1), nameof(Game1.player)),
new FieldReplaceRewriter(typeof(Game1), "borderFont", nameof(Game1.smallFont)),