mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
version check handle minor versions below 10
This commit is contained in:
parent
f248e81c65
commit
df8b23b9ba
@ -10,7 +10,7 @@ private _files = CBA_common_addons select {
|
||||
|
||||
private _versions = [];
|
||||
{
|
||||
getText (configFile >> "CfgPatches" >> _x >> "version") splitString "." params ["_major", "_minor"];
|
||||
getText (configFile >> "CfgPatches" >> _x >> "version") splitString "." params [["_major", "0"], ["_minor", "0"]];
|
||||
private _version = parseNumber _major + parseNumber _minor/100;
|
||||
_versions set [_forEachIndex, _version];
|
||||
} forEach _files;
|
||||
|
Loading…
Reference in New Issue
Block a user