Skip to content

Commit

Permalink
Add missing GoBack causing cvars not to load if using veto_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdnk committed May 6, 2023
1 parent f313c28 commit cb0e9ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripting/get5/matchconfig.sp
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,7 @@ static bool LoadMatchFromKeyValue(KeyValues kv, char[] error) {
if (!LoadVetoDataKeyValues(kv, error)) {
return false;
}
kv.GoBack();
} else {
GenerateDefaultVetoSetup(g_MapPoolList, g_MapBanOrder, g_NumberOfMapsInSeries, g_LastVetoTeam);
}
Expand Down

0 comments on commit cb0e9ad

Please sign in to comment.