Fix action text

This commit is contained in:
Timi007 2022-06-10 22:14:41 +02:00
parent 434402eabe
commit f6500a52c0
No known key found for this signature in database
GPG Key ID: AFC60E0DA93308DA

View File

@ -26,7 +26,7 @@ private _actions = [];
_actions pushBack [ _actions pushBack [
[ [
"place_" + _x, "place_" + _x,
format [LSTRING(place), _displayName], format [LLSTRING(place), _displayName],
_actionIconPlace, _actionIconPlace,
{[_this select 0, _this select 2] call FUNC(placeFlag)}, {[_this select 0, _this select 2] call FUNC(placeFlag)},
{true}, {true},
@ -41,7 +41,7 @@ private _actions = [];
_actions pushBack [ _actions pushBack [
[ [
"carry_" + _x, "carry_" + _x,
format [LSTRING(carry), _displayName], format [LLSTRING(carry), _displayName],
_actionIconCarry, _actionIconCarry,
{[_this select 0, _this select 2] call FUNC(carryFlag)}, {[_this select 0, _this select 2] call FUNC(carryFlag)},
{!([_this select 1] call FUNC(carriesFlag))}, // Should not carry flag already {!([_this select 1] call FUNC(carriesFlag))}, // Should not carry flag already