summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-06-12 12:26:51 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-06-12 12:26:51 -0400
commit15f829e48c1ee9731a812798841ee102e024775d (patch)
tree2fbc66e78a802445389c54a39bb9f0912f567abf /src/SMAPI/Framework/SCore.cs
parent0189b282f4db300c70eeef5e9f714aa450deafde (diff)
downloadSMAPI-15f829e48c1ee9731a812798841ee102e024775d.tar.gz
SMAPI-15f829e48c1ee9731a812798841ee102e024775d.tar.bz2
SMAPI-15f829e48c1ee9731a812798841ee102e024775d.zip
patch PyTK temporarily to fix scale-up compatibility in SMAPI 3.15
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r--src/SMAPI/Framework/SCore.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index 7792c64a..0fbf6525 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -1637,6 +1637,8 @@ namespace StardewModdingAPI.Framework
this.ReloadTranslations(loaded);
// set temporary PyTK compatibility mode
+ // This is part of a three-part fix for PyTK 1.23.0 and earlier. When removing this,
+ // search 'Platonymous.Toolkit' to find the other part in SMAPI and Content Patcher.
{
IModInfo? pyTk = this.ModRegistry.Get("Platonymous.Toolkit");
ModContentManager.EnablePyTkLegacyMode = pyTk is not null && pyTk.Manifest.Version.IsOlderThan("1.23.1");