From 5c6cc9bac719a16702e69ee3cc4edfe78ac7018d Mon Sep 17 00:00:00 2001 From: vbawol Date: Tue, 3 Oct 2017 17:01:04 -0500 Subject: [PATCH] remove debug --- Sources/epoch_code/compile/looting/EPOCH_spawnLoot.sqf | 2 +- Sources/epoch_code/compile/setup/masterLoop/init.sqf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/epoch_code/compile/looting/EPOCH_spawnLoot.sqf b/Sources/epoch_code/compile/looting/EPOCH_spawnLoot.sqf index d729f23e..c196115b 100644 --- a/Sources/epoch_code/compile/looting/EPOCH_spawnLoot.sqf +++ b/Sources/epoch_code/compile/looting/EPOCH_spawnLoot.sqf @@ -37,7 +37,7 @@ if (_selectedConfig isEqualTo "") then { }; }; -diag_log format["DEBUG: _selectedConfig %1",_selectedConfig]; +//diag_log format["DEBUG: _selectedConfig %1",_selectedConfig]; _masterConfig = 'CfgBuildingLootPos' call EPOCH_returnConfig; _config = _masterConfig >> _selectedConfig; diff --git a/Sources/epoch_code/compile/setup/masterLoop/init.sqf b/Sources/epoch_code/compile/setup/masterLoop/init.sqf index 5a5aed15..794f6e57 100644 --- a/Sources/epoch_code/compile/setup/masterLoop/init.sqf +++ b/Sources/epoch_code/compile/setup/masterLoop/init.sqf @@ -206,7 +206,7 @@ _lootBubble = { _lootDist = 30 + _distanceTraveled; _lootLoc = player getRelPos [_lootDist, (random [-180,0,180])]; _objects = (_lootLoc nearObjects 30) select { - _selectedConfig = typeOf _x; + private _selectedConfig = typeOf _x; if (_selectedConfig isEqualTo "") then { (getModelInfo _x) params [["_modelName",""]]; if (!isnil "_modelName") then { @@ -215,7 +215,7 @@ _lootBubble = { }; ((toLower _selectedConfig) in _lootClasses) }; - diag_log format["DEBUG: loot objects %1",_objects]; + // diag_log format["DEBUG: loot objects %1",_objects]; _jammer = nearestObjects [_lootLoc, ["PlotPole_EPOCH","ProtectionZone_Invisible_F"], _buildingJammerRange]; if (!(_objects isEqualTo[]) && (_jammer isEqualTo[])) then { _building = selectRandom _objects;