From a3b6f664e152a1506147fc62dc7e4f0a823cd6da Mon Sep 17 00:00:00 2001 From: OverlordZorn Date: Sun, 10 Nov 2024 17:08:14 +0100 Subject: [PATCH] empty_box -> box_empty --- addons/csc/functions/internal/fn_createCrate.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/csc/functions/internal/fn_createCrate.sqf b/addons/csc/functions/internal/fn_createCrate.sqf index 9f87ea2..defae33 100644 --- a/addons/csc/functions/internal/fn_createCrate.sqf +++ b/addons/csc/functions/internal/fn_createCrate.sqf @@ -27,7 +27,7 @@ private _box = createVehicle [_entry get "box_class", [0,0,0],[],2,"CAN_COLLIDE" _box setVariable ["ace_cargo_customname", _entry get "name", true]; -if (_entry get "empty_box") then { +if (_entry get "box_empty") then { // Empties the inventory of the Box clearBackpackCargoGlobal _box; clearMagazineCargoGlobal _box;