mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ATagMX - Allow one decimal place for the bullet mass (in grams) (#6041)
Closes: #6040
This commit is contained in:
parent
00ba133b21
commit
a5523bc0c7
@ -24,7 +24,7 @@ if (GVAR(currentUnit) != 2) then {
|
||||
if (GVAR(currentUnit) != 2) then {
|
||||
ctrlSetText [110, Str(Round((GVAR(workingMemory) select 12) * 15.4323584))];
|
||||
} else {
|
||||
ctrlSetText [110, Str(Round(GVAR(workingMemory) select 12))];
|
||||
ctrlSetText [110, Str(Round((GVAR(workingMemory) select 12) * 10) / 10)];
|
||||
};
|
||||
if (missionNamespace getVariable [QEGVAR(advanced_ballistics,enabled), false]) then {
|
||||
ctrlSetText [120, Str(Round((GVAR(workingMemory) select 15) * 1000) / 1000)];
|
||||
|
@ -25,7 +25,7 @@ if (GVAR(currentUnit) != 2) then {
|
||||
if (GVAR(currentUnit) != 2) then {
|
||||
ctrlSetText [120010, Str(Round((GVAR(workingMemory) select 12) * 15.4323584))];
|
||||
} else {
|
||||
ctrlSetText [120010, Str(Round(GVAR(workingMemory) select 12))];
|
||||
ctrlSetText [120010, Str(Round((GVAR(workingMemory) select 12) * 10) / 10)];
|
||||
};
|
||||
if (GVAR(currentUnit) != 2) then {
|
||||
ctrlSetText [120020, Str(Round((GVAR(workingMemory) select 13) / 10 / 2.54 * 1000) / 1000)];
|
||||
|
Loading…
Reference in New Issue
Block a user