mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Cleanup formatting from #1921
This commit is contained in:
@@ -47,10 +47,10 @@ if (vehicle player != player) then {
|
|||||||
_object = cursorTarget;
|
_object = cursorTarget;
|
||||||
};
|
};
|
||||||
|
|
||||||
_isVehicle = _object isKindOf "AllVehicles";
|
_type = typeOf _object;
|
||||||
_isMan = _object isKindOf "Man";
|
_isVehicle = _type isKindOf "AllVehicles";
|
||||||
_isStorage = _object isKindOf "Land_A_tent";
|
_isMan = _type isKindOf "Man";
|
||||||
_type=typeOf _object;
|
_isStorage = _type isKindOf "Land_A_tent";
|
||||||
_isNewStorage = _type in DZE_isNewStorage;
|
_isNewStorage = _type in DZE_isNewStorage;
|
||||||
|
|
||||||
_timeout = time + 2;
|
_timeout = time + 2;
|
||||||
@@ -71,7 +71,8 @@ if (!(isNull (findDisplay 106))) then {
|
|||||||
_backpacksMax = getNumber (configFile >> "CfgVehicles" >> _type >> "transportMaxBackpacks");
|
_backpacksMax = getNumber (configFile >> "CfgVehicles" >> _type >> "transportMaxBackpacks");
|
||||||
|
|
||||||
while {!(isNull (findDisplay 106))} do {
|
while {!(isNull (findDisplay 106))} do {
|
||||||
if(_isVehicle&&((locked _object)&&(vehicle player==player)))exitWith{(findDisplay 106)closeDisplay 1;};
|
//Exit if vehicle you are looking at is locked while gear is open
|
||||||
|
if (locked _object && {vehicle player == player}) exitWith {(findDisplay 106) closeDisplay 2;};
|
||||||
_weapons = call _countWeapons;
|
_weapons = call _countWeapons;
|
||||||
_magazines = call _countMagazines;
|
_magazines = call _countMagazines;
|
||||||
_backpacks = call _countBackpacks;
|
_backpacks = call _countBackpacks;
|
||||||
|
|||||||
Reference in New Issue
Block a user