File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public class PolyTechMain : PolyTechMod
2424 public new const string
2525 PluginGuid = "polytech.polytechframework" ,
2626 PluginName = "PolyTech Framework" ,
27- PluginVersion = "0.9.6 " ;
27+ PluginVersion = "0.9.7 " ;
2828 private static BindingList < PolyTechMod >
2929 noncheatMods = new BindingList < PolyTechMod > { } ,
3030 cheatMods = new BindingList < PolyTechMod > { } ;
@@ -963,7 +963,8 @@ static bool Prepare()
963963
964964 static MethodInfo TargetMethod ( )
965965 {
966- return AccessTools . Method ( typeof ( SteamStatsAndAchievements ) , "UploadLeaderboardScore" ) ;
966+ var steamStatsType = typeof ( GameStateManager ) . Assembly . GetType ( "SteamStatsAndAchievements" ) ;
967+ return AccessTools . Method ( steamStatsType , "UploadLeaderboardScore" ) ;
967968 }
968969
969970 static bool Prefix ( int score , bool didBreak ) {
You can’t perform that action at this time.
0 commit comments