From db8edd6217d038866ae41044d03bcdca484f5798 Mon Sep 17 00:00:00 2001 From: Drofseh Date: Mon, 27 May 2024 18:35:12 -0700 Subject: [PATCH] Update addons/cargo/functions/fnc_handleDestroyed.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> --- addons/cargo/functions/fnc_handleDestroyed.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/cargo/functions/fnc_handleDestroyed.sqf b/addons/cargo/functions/fnc_handleDestroyed.sqf index dc9822b9f4..577aeb57ca 100644 --- a/addons/cargo/functions/fnc_handleDestroyed.sqf +++ b/addons/cargo/functions/fnc_handleDestroyed.sqf @@ -31,7 +31,7 @@ if (_loaded isNotEqualTo []) then { if (_x isEqualType objNull) then { private _delete = true; - if (_killed && {random 100 < GVAR(unloadOnKilled)}) then { + if (_killed && {random 1 < GVAR(unloadOnKilled)}) then { _delete = !([_x, _object] call ace_cargo_fnc_unloadItem); // If a safe position to unload cannot be found fnc_unloadItem returns false, delete cargo instead };