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

[MIRROR] Removes some code soul (IF YOU ARE COPY PASTING THIS...), replaces it with a macro #848

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#25272
Original PR: tgstation/tgstation#79935

About The Pull Request

Replaces all instances of SSblackbox.record_feedback\("tally", "admin_verb", 1, (.+)\) with BLACKBOX_LOG_ADMIN_VERB($1)

This makes so the funny comment isn't necessary.

It also reveals one location which someone did not heed the comment, the debug_controller proc copy+pasted the line but did not change the fourth argument. PEOPLE DON'T READ!

…replaces it with a macro [MDB IGNORE] (#25272)

* Removes some code soul (`IF YOU ARE COPY PASTING THIS...`), replaces it with a macro (#79935)

## About The Pull Request

Replaces all instances of `SSblackbox.record_feedback\("tally",
"admin_verb", 1, (.+)\)` with `BLACKBOX_LOG_ADMIN_VERB($1)`

This makes so the funny comment isn't necessary.

It also reveals one location which someone did not heed the comment, the
`debug_controller` proc copy+pasted the line but did not change the
fourth argument. PEOPLE DON'T READ!

* Removes some code soul (`IF YOU ARE COPY PASTING THIS...`), replaces it with a macro

---------

Co-authored-by: MrMelbert <[email protected]>
@Iajret Iajret merged commit 085e65f into master Nov 27, 2023
24 checks passed
@Iajret Iajret deleted the upstream-mirror-25272 branch November 27, 2023 09:21
Iajret pushed a commit that referenced this pull request Feb 8, 2024
* Fix Krav Maga not shoving (#81340)

## About The Pull Request

I thought it was normal for Krav to not shove but apparently it was
reverted

## Changelog

:cl: Melbert
fix: Krav Maga users can shove again
/:cl:

* Fix Krav Maga not shoving

---------

Co-authored-by: MrMelbert <[email protected]>
ReezeBL pushed a commit that referenced this pull request Feb 9, 2024
* Fix Krav Maga not shoving (#81340)

## About The Pull Request

I thought it was normal for Krav to not shove but apparently it was
reverted

## Changelog

:cl: Melbert
fix: Krav Maga users can shove again
/:cl:

* Fix Krav Maga not shoving

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: MrMelbert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants