Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sm_pugsetup_damageprint_format does not apply color when the color is first #425

Open
paulo-erichsen opened this issue May 10, 2023 · 1 comment

Comments

@paulo-erichsen
Copy link

Expected behavior

I'm configuring it like this

sm_pugsetup_damageprint_format "{GREEN}To: [{DMG_TO} / {HITS_TO} hits] From: [{DMG_FROM} / {HITS_FROM} hits] - {NAME} ({HEALTH} hp)"

Actual behavior

  1. the Green color is not applied

I've found a workaround is to add a space before the color. The following works, but not the above.

sm_pugsetup_damageprint_format " {GREEN}To: [{DMG_TO} / {HITS_TO} hits] From: [{DMG_FROM} / {HITS_FROM} hits] - {NAME} ({HEALTH} hp)"
  • Note the space before {GREEN}
@splewis
Copy link
Owner

splewis commented May 10, 2023

Yes, this is an unfortunate bug. Glad you found the workaround.

As far as I know, this is a bug in csgo itself, so it may not be fixable in the plugin (I could be wrong, though).

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

No branches or pull requests

2 participants