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

A couple of M56D/M2C fixes #5336

Merged
merged 4 commits into from
Jan 3, 2024

Conversation

SabreML
Copy link
Member

@SabreML SabreML commented Dec 29, 2023

About the pull request

Some fixes and a small refactor for the M56D and M2C (since it's a subtype).
I was initially only planning to add a few allow_gun_usage checks around, but I just kept finding more things to fix.

(I've tested this pretty thoroughly, but I'd still like to request a testmerge since a few of my other recent PRs have introduced new bugs.)

Explain why it's good for the game

Fixes bugs

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑
fix: Fixed non-combat synthetics being able to fire the M2C.
fix: Fixed scouts being able to use the M56D or M2C before their cloak's gun cooldown had ended.
fix: Fixed the M56D and M2C saying that the user is too far away to man it, even when they successfully man it.
fix: Fixed a runtime which was caused whenever someone manned an M56D or M2C.
refactor: Refactored some M56D and M2C manning/unmanning code.
/:cl:

runtime error: living_set_body_position overridden. Use override = TRUE to suppress this warning
Nothing should have been removed or added (other than combining the `UnregisterSignal()`s). This is just to make them a bit neater.
@github-actions github-actions bot added Fix Fix one bug, make ten more Refactor Make the code harder to read labels Dec 29, 2023
@realforest2001 realforest2001 added this pull request to the merge queue Jan 3, 2024
Merged via the queue into cmss13-devs:master with commit 0a9c814 Jan 3, 2024
28 checks passed
cm13-github added a commit that referenced this pull request Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more Refactor Make the code harder to read Testmerge Candidate we'll test this while you're asleep and the server has 10 players
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants