Improve dogtag bonus function for HoF area + allow any side dogtag to be used
This commit is contained in:
parent
ad0489a9e7
commit
9b45d40c2b
@ -1099,8 +1099,12 @@ export class HideoutHelper
|
||||
let result = 0;
|
||||
for (const dogtag of activeDogtags)
|
||||
{
|
||||
if (dogtag.upd.Dogtag.Side === pmcData.Info.Side
|
||||
|| Number.parseInt(dogtag.upd.Dogtag.AccountId) === pmcData.aid
|
||||
if (!dogtag.upd.Dogtag)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (Number.parseInt(dogtag.upd.Dogtag?.AccountId) === pmcData.aid
|
||||
)
|
||||
{
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user