mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 17:54:01 +00:00
Encapsulated variable properly
lootSource was not encapsulated properly so this is now fixed.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user