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

PlayerSide anomalous behaviour with certain leading special characters #12634

Open
riverwanderer opened this issue Sep 2, 2023 · 2 comments
Open

Comments

@riverwanderer
Copy link
Collaborator

To reproduce, define a PlayerSide with a leading "." or ":".... select that side; notice that the leading character has been dropped (confirm from the debug console: /property show PlayerSide).

Embedded special characters are not dropped. Underscore is not dropped, possibly others work or don't work.

Further special case: a PlayerSide with a single leading space is truncated from the right.
e.g. " Test" becomes " Tes".

Raising this issue to confirm the expected behaviour. Leading space behaviour is clearly a bug but dropping some leading special character or other might be usefully exploited (e.g. issue #12632).

@riverwanderer
Copy link
Collaborator Author

riverwanderer commented Sep 2, 2023

Above report based on Dev version of C&C Nap module. However, not reproduced when testing leading "." for PR #12636.

@riverwanderer
Copy link
Collaborator Author

Seems to be a transient editor error that is fixed if the module is saved and re-opened.

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

1 participant