mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Update EPOCH_maintainIT.sqf
Extra semi-colon removed from line
This commit is contained in:
parent
3cfca928d0
commit
18e3330a6b
@ -27,7 +27,7 @@ private ["_buildingJammerRange","_maintainCount","_rnd"];
|
|||||||
|
|
||||||
if !(isNil "EPOCH_maintainLockout") exitWith {["Already Maintaining a base.", 5] call Epoch_message;};
|
if !(isNil "EPOCH_maintainLockout") exitWith {["Already Maintaining a base.", 5] call Epoch_message;};
|
||||||
if (EPOCH_playerCrypto > 0) then {
|
if (EPOCH_playerCrypto > 0) then {
|
||||||
_buildingJammerRange = getnumber (getmissionconfig "CfgEpochClient" >> "CfgJammers" >> (typeof _this) >> "buildingJammerRange");;
|
_buildingJammerRange = getnumber (getmissionconfig "CfgEpochClient" >> "CfgJammers" >> (typeof _this) >> "buildingJammerRange");
|
||||||
if (_buildingJammerRange == 0) then { _buildingJammerRange = 75; };
|
if (_buildingJammerRange == 0) then { _buildingJammerRange = 75; };
|
||||||
|
|
||||||
_maintainCount = {(damage _x) > 0} count nearestObjects[_this, ["Constructions_static_F","Constructions_foundation_F","Buildable_Storage","Constructions_lockedstatic_F"], _buildingJammerRange];
|
_maintainCount = {(damage _x) > 0} count nearestObjects[_this, ["Constructions_static_F","Constructions_foundation_F","Buildable_Storage","Constructions_lockedstatic_F"], _buildingJammerRange];
|
||||||
|
Loading…
Reference in New Issue
Block a user