mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
remove debug
This commit is contained in:
parent
d72af99663
commit
5c6cc9bac7
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user