Fixed OnChatTab duplicating characters in base gamemode #958

Merged
merged 1 commit into from Sep 6, 2015

Projects

None yet

2 participants

@MyHatStinks
Contributor

Using the name "my_hat_stinks" as an example, both "my " and "my_" would result in "mmy_hat_stinks".
The first issue is fixed by simply removing extra space characters. The second issue by allowing punctuation to be included in "LastWord". This is simpler and easier than finding the exact location of LastWord and replacing only those characters.
This also has the side effect of accepting names containing non-alphabetic characters.

@MyHatStinks MyHatStinks Fixed OnChatTab duplicating characters in base gamemode
Using the name "my_hat_stinks" as an example, both "my " and "my_" would result in "mmy_hat_stinks".
The first issue is fixed by simply removing extra space characters. The second issue by allowing punctuation to be included in "LastWord".
This also has the side effect of accepting names containing non-alphabetic characters.
8598ba7
@robotboy655 robotboy655 merged commit 6d2417c into garrynewman:master Sep 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment