mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Update Mission.cpp
This commit is contained in:
@@ -482,7 +482,7 @@ void Mission::YieldRewards() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (info->reward_currency > 0) {
|
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);
|
character->SetCoins(character->GetCoins() + info->reward_currency, lootSource);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user