Skip to content

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

Merged
psychonic merged 2 commits intoalliedmodders:masterfrom
Rushaway:patch-1
Jan 15, 2023
Merged

fix: Print full map name in Log instead of args#1907
psychonic merged 2 commits intoalliedmodders:masterfrom
Rushaway:patch-1

Conversation

@Rushaway
Copy link
Contributor

Print the full map name in LogAction instead of the args.
Exemple : !map de_
Before:
.Rushaway<150><[U:1:44340774]><> changed map to de_

After:
.Rushaway<150><[U:1:44340774]><> changed map to de_dust2

@psychonic
Copy link
Member

There may be value in logging the original input string as well.

Something like: "\"%L\" changed map to \"%s\" (input \"%s\")". Thoughts?

@Rushaway
Copy link
Contributor Author

@psychonic Here you go.

@psychonic psychonic merged commit 221d34f into alliedmodders:master Jan 15, 2023
@psychonic
Copy link
Member

Thanks!

@Rushaway Rushaway deleted the patch-1 branch April 9, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants