Skip to content

Commit

Permalink
Merge pull request #85 from OverlordZorn/csc-hotfix-empty-box
Browse files Browse the repository at this point in the history
CSC - Fix: Boxes are not being empties
  • Loading branch information
OverlordZorn authored Nov 10, 2024
2 parents 4d396f5 + a3b6f66 commit 92f65b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/csc/functions/internal/fn_createCrate.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 92f65b6

Please sign in to comment.