diff --git a/addons/cars/functions/fnc_setVehicles.sqf b/addons/cars/functions/fnc_setVehicles.sqf index 0cc3de0..3fe2aa7 100644 --- a/addons/cars/functions/fnc_setVehicles.sqf +++ b/addons/cars/functions/fnc_setVehicles.sqf @@ -6,4 +6,4 @@ params [ assert(_value isEqualTypeAll ""); -[QGVAR(vehicles), str _value, 1, "mission"] call CBA_settings_fnc_set; +[QGVAR(vehicles), str _value, 1, "server", true] call CBA_settings_fnc_set; diff --git a/addons/lifecycle/functions/fnc_setCivilians.sqf b/addons/lifecycle/functions/fnc_setCivilians.sqf index ae5b5e0..90b8949 100644 --- a/addons/lifecycle/functions/fnc_setCivilians.sqf +++ b/addons/lifecycle/functions/fnc_setCivilians.sqf @@ -6,4 +6,4 @@ params [ assert(_value isEqualTypeAll ""); -[QGVAR(civClasses), str _value, 1, "mission"] call CBA_settings_fnc_set; +[QGVAR(civClasses), str _value, 1, "server", true] call CBA_settings_fnc_set; diff --git a/addons/residents/functions/fnc_sm_business_state_housework_enter.sqf b/addons/residents/functions/fnc_sm_business_state_housework_enter.sqf index 68e3758..493f21f 100644 --- a/addons/residents/functions/fnc_sm_business_state_housework_enter.sqf +++ b/addons/residents/functions/fnc_sm_business_state_housework_enter.sqf @@ -5,7 +5,7 @@ private _isSleepingTime = _this call EFUNC(activities,isSleepingTime); private _house = _this getVariable ["grad_civs_home", objNull]; -_this setVariable [QGVAR(housework_time), random if (_isSleepingTime) then {GVAR(houseworkTimesNight)} else {GVAR(houseworkTimesDay)}]; +_this setVariable [QGVAR(housework_time), random (if (_isSleepingTime) then [{GVAR(houseworkTimesNight)},{GVAR(houseworkTimesDay)}])]; _this call EFUNC(activities,forceEmotionSpeed); if (isNull _house) exitWith {