Common - Fix arithmeticGetResult hash values extraction (#8503)

This commit is contained in:
Whigital 2021-10-11 20:57:15 +02:00 committed by GitHub
parent af66a9881c
commit 81b4c276f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,8 @@
params ["_namespace", "_setID", "_operation"];
TRACE_3("arithmeticGetResult",_namespace,_setID,_operation);
private _data = (_namespace getVariable _setID) param [2, [{0}]];
private _hash = _namespace getVariable [_setID, createHashMapFromArray [["empty", {0}]]];
private _data = values _hash;
switch (_operation) do {
case "max": {