mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix problems with ported treatment
This commit is contained in:
parent
158b1eed69
commit
10d4047b4c
@ -65,7 +65,7 @@ private _createLitter = {
|
|||||||
|
|
||||||
{
|
{
|
||||||
if (count _x < MIN_ENTRIES_LITTER_CONFIG) then {
|
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 {
|
} else {
|
||||||
_x params [
|
_x params [
|
||||||
["_selection", "", [""]],
|
["_selection", "", [""]],
|
||||||
|
@ -45,7 +45,7 @@ _litterObject setPosASL _position;
|
|||||||
_object setPosASL _position;
|
_object setPosASL _position;
|
||||||
}, [_litterObject, _position]] call CBA_fnc_execNextFrame;
|
}, [_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 {
|
if (count GVAR(allCreatedLitter) > _maxLitterCount) then {
|
||||||
// gank the first litter object, and spawn ours.
|
// gank the first litter object, and spawn ours.
|
||||||
|
Loading…
Reference in New Issue
Block a user