mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Removed obsolete code
This commit is contained in:
@@ -67,15 +67,6 @@ if (_isOk) then {
|
|||||||
if (_create == "MeleeFishingPole") then {
|
if (_create == "MeleeFishingPole") then {
|
||||||
player addMagazine 'Fishing_Swing';
|
player addMagazine 'Fishing_Swing';
|
||||||
};
|
};
|
||||||
if (_type == "cfgWeapons") then {
|
|
||||||
_muzzles = getArray(configFile >> "cfgWeapons" >> _create >> "muzzles");
|
|
||||||
_wtype = ((weapons player) select 0);
|
|
||||||
if (count _muzzles > 1) then {
|
|
||||||
player selectWeapon (_muzzles select 0);
|
|
||||||
} else {
|
|
||||||
player selectWeapon _wtype;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -365,7 +365,6 @@ if (_hasrequireditem) then {
|
|||||||
|
|
||||||
// No building in trader zones
|
// No building in trader zones
|
||||||
if(!canbuild) then { _cancel = true; _reason = "Cannot build in a city."; };
|
if(!canbuild) then { _cancel = true; _reason = "Cannot build in a city."; };
|
||||||
if(!placevault) then { _cancel = true; _reason = "Cannot build in a city."; };
|
|
||||||
|
|
||||||
if(!_cancel) then {
|
if(!_cancel) then {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user