Skip to content

Commit

Permalink
no not lock bikes on purchase
Browse files Browse the repository at this point in the history
  • Loading branch information
vbawol committed Oct 8, 2013
1 parent a1f2511 commit 50c6f8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SQF/dayz_server/compile/server_publishVehicle2.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ _key call server_hiveWrite;
_object = createVehicle [_class, _location, [], 0, "CAN_COLLIDE"];
};

// Lock vehicle
_object setvehiclelock "locked";
if(!_donotusekey) then {
// Lock vehicle
_object setvehiclelock "locked";
};

clearWeaponCargoGlobal _object;
clearMagazineCargoGlobal _object;
Expand Down

0 comments on commit 50c6f8f

Please sign in to comment.