fix: Print full map name in Log instead of args (#1907)

This commit is contained in:
Rushaway 2023-01-15 19:32:41 +01:00 committed by GitHub
parent 8922ed0c5d
commit 221d34f809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ public Action Command_Map(int client, int args)
GetMapDisplayName(displayName, displayName, sizeof(displayName)); GetMapDisplayName(displayName, displayName, sizeof(displayName));
ShowActivity2(client, "[SM] ", "%t", "Changing map", displayName); ShowActivity2(client, "[SM] ", "%t", "Changing map", displayName);
LogAction(client, -1, "\"%L\" changed map to \"%s\"", client, map); LogAction(client, -1, "\"%L\" changed map to \"%s\" (input \"%s\")", client, displayName, map);
DataPack dp; DataPack dp;
CreateDataTimer(3.0, Timer_ChangeMap, dp); CreateDataTimer(3.0, Timer_ChangeMap, dp);