remove debug

This commit is contained in:
vbawol 2017-10-03 17:01:04 -05:00
parent d72af99663
commit 5c6cc9bac7
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;