Arma 3 Version: 1.94 (stable)
CBA Version: 3.11.1 (stable)
ACE3 Version: 3.12.6 (stable)
ACEX Version: 3.4.2 (stable)
Mods:
Description:
- It is hard to reproduce but... Simultaneous deploy can lead to -1 in budget and unlock infinite building capability.
|
private _budget = [_side] call FUNC(getBudget); |
|
private _newBudget = _budget + _change; |
Would be nice to have result of sum limited by 0.
Steps to reproduce:
- Set cost and budget
[west, 7, [["Land_TentA_F", 5],["Land_SandbagBarricade_01_half_F", 3]]] call acex_fortify_fnc_registerObjects;
- Try to build 2 objects simultaneously.
Where did the issue occur?
- Dedicated / Self-Hosted Multiplayer / Editor (Multiplayer)