1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

conform isnil checking: rearm

This commit is contained in:
Whigital 2020-02-11 23:44:53 +01:00
parent 84649c8c8d
commit 22c44629f7

@ -51,7 +51,7 @@ if (GVAR(supply) == 1) then {
private _numChars = count (localize LSTRING(Hint_RemainingAmmo));
private _text = "";
private _magazines = _truck getVariable QGVAR(magazineSupply);
if !(isNil "_magazines") then {
if (!isNil "_magazines") then {
{
_x params ["_magazineClass", "_rounds"];
private _line = format ["%1: %2", _magazineClass call FUNC(getMagazineName), _rounds];