Skip to content

Overheating - fix/improve ace_overheating_fnc_jamWeapon#10873

Merged
Drofseh merged 6 commits intoacemod:masterfrom
Drofseh:Overheating-improve-fnc_jamWeapon
Apr 28, 2025
Merged

Overheating - fix/improve ace_overheating_fnc_jamWeapon#10873
Drofseh merged 6 commits intoacemod:masterfrom
Drofseh:Overheating-improve-fnc_jamWeapon

Conversation

@Drofseh
Copy link
Copy Markdown
Contributor

@Drofseh Drofseh commented Apr 20, 2025

When merged this pull request will:

  • fix for "_i" from count _jamTypesAllowed steps, should only have returned the strings like "Feed" but was returning numbers as well and therefore always failing the if !(_jamCurretType in ["eject", etc] check and falling back to default .
  • new param for the type of jam
  • add defaults for weapon and jam type
  • make jam types case insensitive

Drofseh and others added 2 commits April 20, 2025 18:35
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
@Drofseh Drofseh requested a review from rautamiekka April 21, 2025 01:45
@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Apr 21, 2025
@PabstMirror PabstMirror added this to the 3.20.0 milestone Apr 21, 2025
@Drofseh Drofseh requested review from johnb432 and rautamiekka April 27, 2025 07:38
Copy link
Copy Markdown
Contributor

@johnb432 johnb432 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll open another PR with some more changes, such as renaming _zero and _one to meaningful names.

This PR, as is - LGTM.

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
@Drofseh Drofseh merged commit 84c5641 into acemod:master Apr 28, 2025
3 checks passed
@Drofseh Drofseh deleted the Overheating-improve-fnc_jamWeapon branch April 28, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug-fix Release Notes: **FIXED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants