Skip to content

Commit

Permalink
Fix changeBloodType (#590)
Browse files Browse the repository at this point in the history
**When merged this pull request will:**
- Fixes changeBloodType to work

### IMPORTANT

- [Development Guidelines](https://ace3.acemod.org/wiki/development/)
are read, understood and applied.
- Title of this PR uses our standard template `Component -
Add|Fix|Improve|Change|Make|Remove {changes}`.
  • Loading branch information
mazinskihenry authored Aug 29, 2024
1 parent 02acfea commit 7241206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/zeus/functions/fnc_ui_changeBloodType.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private _fnc_onConfirm = {
private _curBloodVol = GET_BLOOD_VOLUME_LITERS(_unit);
private _sliderValue = sliderPosition (_display displayCtrl 26423);
_sliderValue = parseNumber (_sliderValue toFixed 2);
REDUCE_TOTAL_BLOOD_VOLUME(_unit,_sliderVolume);
REDUCE_TOTAL_BLOOD_VOLUME(_unit,((_curBloodVol - _sliderValue) * 1000));
};

_display displayAddEventHandler ["Unload", _fnc_onUnload];
Expand Down

0 comments on commit 7241206

Please sign in to comment.