Skip to content

Commit

Permalink
fix: re-enable full fast loads INFRA
Browse files Browse the repository at this point in the history
when first adding compatibility this crashed the game, but now it seems fine? idk bro
  • Loading branch information
ThisAMJ committed Nov 19, 2024
1 parent ae27cc0 commit 5fb6cb5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Modules/VGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ DETOUR(VGui::UpdateProgressBar, int progress) {
return 0;
}
if (sar_disable_progress_bar_update.GetInt() == 2) {
if (!sar.game->Is(SourceGame_INFRA) || vgui->progressBarCount > 1) {
return 0;
}
return 0;
}
return VGui::UpdateProgressBar(thisptr, progress);
}
Expand Down

0 comments on commit 5fb6cb5

Please sign in to comment.