Merge branch 'DarkflameUniverse:main' into main

This commit is contained in:
Raphaël Dunant 2021-12-26 14:42:16 +01:00 committed by GitHub
commit 57e28d4619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,10 @@ std::unordered_map<LOT, int32_t> LootGenerator::RollLootMatrix(Entity* player, u
std::unordered_map<LOT, int32_t> drops;
if (missionComponent == nullptr) {
return drops;
}
const LootMatrix& matrix = m_LootMatrices[matrixIndex];
for (const LootMatrixEntry& entry : matrix) {