mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
Encapsulated variable properly
lootSource was not encapsulated properly so this is now fixed.
This commit is contained in:
parent
5e605b30de
commit
74013e07a8
@ -481,8 +481,8 @@ void Mission::YieldRewards() {
|
||||
inventoryComponent->AddItem(pair.first, count);
|
||||
}
|
||||
|
||||
int32_t lootSource = LOOT_SOURCE_ACHIEVEMENT;
|
||||
if (info->reward_currency > 0) {
|
||||
int32_t lootSource = LOOT_SOURCE_ACHIEVEMENT;
|
||||
if(info->isMission) {
|
||||
lootSource = LOOT_SOURCE_MISSION;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user