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

refactor/ci: enforce mapload in Initialize args #26878

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

warriorstar-orion
Copy link
Contributor

What Does This PR Do

This PR adds mapload to all atoms that should have it in its Initialize arguments, and adds a check_grep2 lint to enforce the rule, borrowed from /tg/.

Why It's Good For The Game

mapload should always be passed through to parent Initializes, otherwise code could run on mapload that shouldn't be.

Testing

Built, ran CI, started a round and watched for any runtimes on roundstart. This isn't necessarily without side-effects since different codepaths could now be taken on Initialize. Not sure if it should be TMed for a round or two.


Declaration

  • I confirm that I either do not require pre-approval for this PR, or I have obtained such approval and have included a screenshot to demonstrate this below.

Changelog

NPFC

@ParadiseSS13-Bot ParadiseSS13-Bot added -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally -Status: Awaiting review This PR is awaiting review from the review team and removed -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally labels Sep 22, 2024
@github-actions github-actions bot added the Merge Conflict This PR is merge conflicted label Oct 7, 2024
@github-actions github-actions bot removed the Merge Conflict This PR is merge conflicted label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Status: Awaiting review This PR is awaiting review from the review team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants