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;
|
let result = 0;
|
||||||
for (const dogtag of activeDogtags)
|
for (const dogtag of activeDogtags)
|
||||||
{
|
{
|
||||||
if (dogtag.upd.Dogtag.Side === pmcData.Info.Side
|
if (!dogtag.upd.Dogtag)
|
||||||
|| Number.parseInt(dogtag.upd.Dogtag.AccountId) === pmcData.aid
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Number.parseInt(dogtag.upd.Dogtag?.AccountId) === pmcData.aid
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user