fix problems with ported treatment

This commit is contained in:
commy2 2016-09-19 17:52:16 +02:00
parent 158b1eed69
commit 10d4047b4c
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ private _createLitter = {
{
if (count _x < MIN_ENTRIES_LITTER_CONFIG) then {
WARNING_1("Wrong litter array: %1",_x);
WARNING(format [ARR_2("Wrong litter array: %1",_x)]);
} else {
_x params [
["_selection", "", [""]],

View File

@ -45,7 +45,7 @@ _litterObject setPosASL _position;
_object setPosASL _position;
}, [_litterObject, _position]] call CBA_fnc_execNextFrame;
private _maxLitterCount = getArray (configFile >> "ACE_Settings" >> QEGVAR(medical,litterSimulationDetail) >> "_values") select GVAR(medical,litterSimulationDetail);
private _maxLitterCount = getArray (configFile >> "ACE_Settings" >> QEGVAR(medical,litterSimulationDetail) >> "_values") select EGVAR(medical,litterSimulationDetail);
if (count GVAR(allCreatedLitter) > _maxLitterCount) then {
// gank the first litter object, and spawn ours.