Skip to content

Commit

Permalink
Fix little mistake in capture limit
Browse files Browse the repository at this point in the history
  • Loading branch information
rtxa committed Aug 5, 2024
1 parent b8b9f85 commit 3e1919e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valve/addons/amxmodx/scripting/agmodx_ctf.sma
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ public OnCapturePointTouch(touched, toucher) {
UpdateTeamScore();

// Check if we have reached the capture limit, if so start intermission
if (get_pcvar_num(gCvarCaptureLimit) == gBlueScore || get_pcvar_num(gCvarCaptureLimit) == gRedScore) {
if (get_pcvar_num(gCvarCaptureLimit) >= gBlueScore || get_pcvar_num(gCvarCaptureLimit) >= gRedScore) {
StartIntermissionMode();
}

Expand Down

0 comments on commit 3e1919e

Please sign in to comment.