mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added asterix (*) prefix to distances in yards on the main page
This commit is contained in:
parent
de5c5139c0
commit
4235163801
@ -36,10 +36,10 @@ if (GVAR(currentUnit) != 2) then {
|
|||||||
} else {
|
} else {
|
||||||
ctrlSetText [130, Str(Round(GVAR(workingMemory) select 1))];
|
ctrlSetText [130, Str(Round(GVAR(workingMemory) select 1))];
|
||||||
};
|
};
|
||||||
if (GVAR(currentUnit) != 1) then {
|
if (GVAR(currentUnit) == 1) then {
|
||||||
ctrlSetText [140, Str(Round(GVAR(workingMemory) select 2))];
|
ctrlSetText [140, format["*%1", Round((GVAR(workingMemory) select 2) * 1.0936133)]];
|
||||||
} else {
|
} else {
|
||||||
ctrlSetText [140, Str(Round((GVAR(workingMemory) select 2) * 1.0936133))];
|
ctrlSetText [140, Str(Round(GVAR(workingMemory) select 2))];
|
||||||
};
|
};
|
||||||
|
|
||||||
[] call FUNC(update_scope_unit);
|
[] call FUNC(update_scope_unit);
|
||||||
|
@ -36,7 +36,7 @@ if (GVAR(currentUnit) != 2) then {
|
|||||||
ctrlSetText [330, Str(Round((GVAR(targetSpeed) select GVAR(currentTarget)) * 100) / 100)];
|
ctrlSetText [330, Str(Round((GVAR(targetSpeed) select GVAR(currentTarget)) * 100) / 100)];
|
||||||
};
|
};
|
||||||
if (GVAR(currentUnit) == 1) then {
|
if (GVAR(currentUnit) == 1) then {
|
||||||
ctrlSetText [340, Str(Round((GVAR(targetRange) select GVAR(currentTarget)) * 1.0936133))];
|
ctrlSetText [340, format["*%1", Round((GVAR(workingMemory) select 2) * 1.0936133)]];
|
||||||
} else {
|
} else {
|
||||||
ctrlSetText [340, Str(Round((GVAR(targetRange) select GVAR(currentTarget))))];
|
ctrlSetText [340, Str(Round((GVAR(targetRange) select GVAR(currentTarget))))];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user