mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed another bug in the unit conversion code
This commit is contained in:
parent
f928f37e26
commit
8ff72e7fc8
@ -47,10 +47,10 @@ if (GVAR(currentUnit) != 2) then {
|
||||
} else {
|
||||
ctrlSetText [120050, Str(Round(GVAR(workingMemory) select 1))];
|
||||
};
|
||||
if (GVAR(currentUnit) == 2) then {
|
||||
ctrlSetText [120060, Str(Round(GVAR(workingMemory) select 2))];
|
||||
} else {
|
||||
if (GVAR(currentUnit) == 1) then {
|
||||
ctrlSetText [120060, Str(Round((GVAR(workingMemory) select 2) * 1.0936133))];
|
||||
} else {
|
||||
ctrlSetText [120060, Str(Round(GVAR(workingMemory) select 2))];
|
||||
};
|
||||
|
||||
if (GVAR(currentUnit) == 2) then {
|
||||
|
Loading…
Reference in New Issue
Block a user