Add logging for non-existent loot group small

This can probably be removed for release but for now I noticed
HangarSmall doesn't exist, perhaps others as well.
This commit is contained in:
icomrade
2016-07-24 13:15:37 -04:00
parent 61f59f32a5
commit 51287651f2

View File

@@ -65,7 +65,7 @@ foreach _lootPos;
if (isArray (_config >> "lootPosSmall")) then {
_lootPos = getArray (_config >> "lootPosSmall");
_lootGroup = Loot_GetGroup((getText(_config >> "lootGroup")) + "Small");
if (_lootGroup >= 1) then {
{
//Get the world position of the spawn position
_worldPos = _this modelToWorld _x;
@@ -84,4 +84,7 @@ if (isArray (_config >> "lootPosSmall")) then {
};
}
foreach _lootPos;
} else {
diag_log format["Loot group small: %1 does not exist", ((getText(_config >> "lootGroup")) + "Small")];
};
};