Skip to content

Commit

Permalink
Fix accidently removing team name in get5_scrim.
Browse files Browse the repository at this point in the history
  • Loading branch information
splewis committed Dec 5, 2016
1 parent c1fa969 commit dc6523d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripting/get5/matchconfig.sp
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,10 @@ public Action Command_CreateScrim(int client, int args) {
return Plugin_Handled;
}

kv.JumpToKey("team2", true);
kv.SetString("name", otherTeamName);
kv.GoBack();

if (!kv.ExportToFile(path)) {
delete kv;
MatchConfigFail("Failed to read write scrim config to %s", path);
Expand Down

0 comments on commit dc6523d

Please sign in to comment.