We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b593fbe commit adde8d7Copy full SHA for adde8d7
1 file changed
PolyTechMain.cs
@@ -939,6 +939,7 @@ static bool Prepare()
939
static MethodInfo TargetMethod()
940
{
941
var steamStatsType = typeof(GameStateManager).Assembly.GetType("SteamStatsAndAchievements");
942
+ if (steamStatsType == null) return null;
943
return AccessTools.Method(steamStatsType, "UploadLeaderboardScore");
944
}
945
0 commit comments