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

Regression - ace_refuel_fnc_getFuel infinite loop #9620

Closed
BaerMitUmlaut opened this issue Nov 3, 2023 · 0 comments · Fixed by #9622
Closed

Regression - ace_refuel_fnc_getFuel infinite loop #9620

BaerMitUmlaut opened this issue Nov 3, 2023 · 0 comments · Fixed by #9622
Assignees
Labels
Milestone

Comments

@BaerMitUmlaut
Copy link
Member

Mods (complete and add to the following information):

Description:
Entering or going near the mods A-10 will cause it to run a script which calls ace_refuel_fnc_getFuel on the nearest objects. One of these objects is a camera. This causes an infinite loop somwhere, I assume getCapacity and setFuel are involved as well.

Steps to reproduce:

  1. Place an empty A-10C from above mod
  2. Go near it or enter it

Where did the issue occur?

  • Editor
@PabstMirror PabstMirror self-assigned this Nov 4, 2023
LinkIsGrim pushed a commit that referenced this issue Nov 4, 2023
…#9622)

* Refuel - Fix infinite recursion for `getCapacity` checking a non-CfgVehicle

Close #9620

* Update addons/refuel/functions/fnc_getCapacity.sqf
@jonpas jonpas added this to the 3.16.2 milestone Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants