mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parent
e75ef3de06
commit
cdc51643bb
@ -21,10 +21,6 @@ uiNamespace setVariable [QGVAR(backpackKeyCache), compileFinal createHashMapFrom
|
||||
if (_picture select [0, 1] == "\") then {
|
||||
_picture = _picture select [1];
|
||||
};
|
||||
if (count _picture > 0 && !(_picture regexMatch ".*?\.paa")) then { // handle missing file extension
|
||||
if (!fileExists (_picture + ".paa")) exitWith {};
|
||||
_picture = _picture + ".paa";
|
||||
};
|
||||
|
||||
// Handle missing file extension, as inventory returns path with extension
|
||||
if (count _picture > 0 && !(_picture regexMatch ".*?\.paa")) then {
|
||||
|
Loading…
Reference in New Issue
Block a user