diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-06-12 12:26:51 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-06-12 12:26:51 -0400 |
commit | 15f829e48c1ee9731a812798841ee102e024775d (patch) | |
tree | 2fbc66e78a802445389c54a39bb9f0912f567abf /src/SMAPI/Framework/SCore.cs | |
parent | 0189b282f4db300c70eeef5e9f714aa450deafde (diff) | |
download | SMAPI-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.cs | 2 |
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"); |