Skip to content

Advanced Fatigue - Optimized FUNC(getWeaponInertia)#11236

Merged
johnb432 merged 3 commits intomasterfrom
adv-fatigue-use-defaultcall
Jan 14, 2026
Merged

Advanced Fatigue - Optimized FUNC(getWeaponInertia)#11236
johnb432 merged 3 commits intomasterfrom
adv-fatigue-use-defaultcall

Conversation

@johnb432
Copy link
Copy Markdown
Contributor

When merged this pull request will:

  • Title.
    • Removed type checking, as it's a private function
    • Used getOrDefaultCall instead of just get.
    • Update GVAR(inertia) outside of the function, so it doesn't product any unwanted side effects.

IMPORTANT

  • If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

@johnb432 johnb432 added this to the 3.20.3 milestone Jan 13, 2026
@johnb432 johnb432 added the kind/optimization Release Notes: **IMPROVED:** label Jan 13, 2026
johnb432 and others added 2 commits January 13, 2026 11:18
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
@johnb432 johnb432 changed the title Advanced Fatigue - Opitmised FUNC(getWeaponInertia) Advanced Fatigue - Optimized FUNC(getWeaponInertia) Jan 13, 2026
@johnb432 johnb432 merged commit 4ef06b5 into master Jan 14, 2026
3 checks passed
@johnb432 johnb432 deleted the adv-fatigue-use-defaultcall branch January 14, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/optimization Release Notes: **IMPROVED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants