You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Check for Pause in challenge mode runs of Wakeup (#340)
* added check for game pausing in map Wakeup
* fixed runs without pauses being considered runs with pauses
* expose g_leaderboardOpen and g_leaderboardWillClose, make wakeup reject feature work with sar_disable_challenge_stats_hud values that are not -1
* refactor: tiny improvements
* fix: use the thing
---------
Co-authored-by: AMJ <69196954+ThisAMJ@users.noreply.github.com>
if (sar_disable_challenge_stats_hud.GetInt() != -1) allowedPauses = 1;
590
+
if (AutoSubmit::g_paused > allowedPauses && engine->GetCurrentMapName() == "sp_a1_wakeup") {
591
+
console->Print("Pause detected in Wakeup (pause abuse is not allowed in CM); not autosubmitting\nManually submit this demo if you believe this was a mistake\n");
592
+
return;
593
+
}
594
+
584
595
#if defined(SAR_DEV_BUILD)
585
596
console->Print("Dev SAR build; not autosubmitting\n");
0 commit comments