fix/logsHandler weapon undefined error
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -189,7 +189,7 @@ module.exports = {
|
||||
attackerStat.shotsLanded++;
|
||||
attackerStat.shotsLandedPerBodyPart[info.bodyPart]++;
|
||||
attackerStat.weaponStats[info.weapon].shotsLanded++;
|
||||
attackerStat.weaponStats[info,weapon].shotsLandedPerBodyPart[info.bodyPart]++;
|
||||
attackerStat.weaponStats[info.weapon].shotsLandedPerBodyPart[info.bodyPart]++;
|
||||
}
|
||||
|
||||
await UpdatePlayer(client, playerStat);
|
||||
|
||||
Reference in new issue
Block a user