Skip to content

Commit

Permalink
Detect current map correctly when using scrim command on workshop maps (
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdnk committed Mar 20, 2023
1 parent 4b5a7b8 commit 1f3bba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripting/get5/matchconfig.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ Action Command_CreateScrim(int client, int args) {

char matchid[MATCH_ID_LENGTH] = "scrim";
char matchMap[PLATFORM_MAX_PATH];
GetCleanMapName(matchMap, sizeof(matchMap));
GetCurrentMap(matchMap, sizeof(matchMap));
char otherTeamName[MAX_CVAR_LENGTH] = "Away";

if (args >= 1) {
Expand Down

0 comments on commit 1f3bba0

Please sign in to comment.