-
Notifications
You must be signed in to change notification settings - Fork 798
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds radio blacklist for non radio tokens in use #16224
base: master
Are you sure you want to change the base?
Conversation
code/datums/jobs/squads.dm
Outdated
@@ -417,6 +417,7 @@ | |||
GLOBAL_LIST_EMPTY_TYPED(custom_squad_radio_freqs, /datum/squad) | |||
///initializes a new custom squad. all args mandatory | |||
/proc/create_squad(squad_name, squad_color, mob/living/carbon/human/creator) | |||
var/radio_whitelist = list(MODE_KEY_BINARY = MODE_KEY_BINARY, MODE_KEY_R_HAND = MODE_KEY_R_HAND, MODE_KEY_L_HAND = MODE_KEY_L_HAND, MODE_KEY_INTERCOM = MODE_KEY_INTERCOM, MODE_KEY_DEPARTMENT , MODE_KEY_DEPARTMENT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean blacklist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I did, sorry
Co-authored-by: ivanmixo <[email protected]>
Co-authored-by: ivanmixo <[email protected]>
Co-authored-by: ivanmixo <[email protected]>
Co-authored-by: ivanmixo <[email protected]>
Co-authored-by: ivanmixo <[email protected]>
That was a much better way to do it, thank you, I learned lots! |
You should put the statement in brackets, byond is being annoying |
About The Pull Request
Adds a blacklist of tokens that are already in use elsewhere other than the radio list
Why It's Good For The Game
Today I noticed that "Naptelek" has been assigned the :n token, which is already in use by binary, making command staff unable to use it. This adds various tokens to the blacklist that are already in use by other things.
Changelog
馃啈
fix: Fixes custom squads being assigned tokens that were already in use by non radio prefixes
/:cl: