Update Mission.cpp

This commit is contained in:
EmosewaMC 2022-01-03 23:05:56 -08:00
parent 329d3d66b3
commit cca5b79e91

View File

@ -482,7 +482,7 @@ void Mission::YieldRewards() {
}
if (info->reward_currency > 0) {
int32_t lootSource = info->isMission ? LOOT_SOURCE_MISSION : LOOT_SOURCE_ACHIEVEMENT;
eLootSourceType lootSource = info->isMission ? LOOT_SOURCE_MISSION : LOOT_SOURCE_ACHIEVEMENT;
character->SetCoins(character->GetCoins() + info->reward_currency, lootSource);
}