Add missing standing logging inside getFenceStandingChangeForKillAsScav()
This commit is contained in:
parent
47882e59d6
commit
51e1f7734e
@ -144,8 +144,14 @@ export class InRaidHelper
|
||||
const botTypes = this.databaseServer.getTables().bots.types;
|
||||
if (victim.Side.toLowerCase() === "savage")
|
||||
{
|
||||
const standing = botTypes[victim.Role.toLowerCase()]?.experience?.standingForKill;
|
||||
if (standing === undefined)
|
||||
{
|
||||
this.logger.warning(`Unable to find standing for kill for: ${victim.Role}, side: ${victim.Side}`);
|
||||
}
|
||||
|
||||
// Scavs and bosses
|
||||
return botTypes[victim.Role.toLowerCase()]?.experience?.standingForKill;
|
||||
return standing;
|
||||
}
|
||||
|
||||
// PMCs - get by bear/usec
|
||||
|
Loading…
x
Reference in New Issue
Block a user