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

Fixes create and destory failure due to missing physiology #2999

Merged
merged 2 commits into from
Jun 2, 2024

Conversation

FalloutFalcon
Copy link
Member

About The Pull Request

Sometimes during unit tests (prob shouldn't happen in the first place) a human will get created and have electrocute act called by a tesla anomaly which causes a fail because it looks for a shock resist in physiology which doesn't yet exist.
If humans are shocked during init and it does not have its physiology yet it now returns
It may be better to just have an if physiology for fetching the physiology siemens but if its missing its physiology its prob missing other thing needed like generating organs or dna

Why It's Good For The Game

im tired of half my prs failing from this

Changelog

🆑
fix: fixed create and destroy test fail
/:cl:

@github-actions github-actions bot added the Code change Watch something violently break. label May 18, 2024
@rye-rice rye-rice added this pull request to the merge queue Jun 2, 2024
Merged via the queue into shiptest-ss13:master with commit 049925a Jun 2, 2024
14 checks passed
@FalloutFalcon FalloutFalcon deleted the siemens-during-init branch June 18, 2024 23:35
MrCat15352 pushed a commit to MrCat15352/MrCat that referenced this pull request Jun 22, 2024
…ss13#2999)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

Sometimes during unit tests (prob shouldn't happen in the first place) a
human will get created and have electrocute act called by a tesla
anomaly which causes a fail because it looks for a shock resist in
physiology which doesn't yet exist.
If humans are shocked during init and it does not have its physiology
yet it now returns
It may be better to just have an if physiology for fetching the
physiology siemens but if its missing its physiology its prob missing
other thing needed like generating organs or dna
<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

im tired of half my prs failing from this

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

:cl:
fix: fixed create and destroy test fail
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code change Watch something violently break.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants