Skip to content

Commit

Permalink
Fix check for Victim on Killstreak Death
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisAlienus committed Mar 7, 2024
1 parent e4d1471 commit 77ecfa5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions squad-server/plugins/my-squad-stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import fs from 'fs';

import BasePlugin from './base-plugin.js';

const currentVersion = 'v4.1.7';
const currentVersion = 'v4.1.8';

export default class MySquadStats extends BasePlugin {
static get description() {
Expand Down Expand Up @@ -851,8 +851,7 @@ export default class MySquadStats extends BasePlugin {
}

async killstreakDied(info) {
if (!info.victim.eosID) return;
this.verbose(1, `Killstreak Died`);
if (!info.victim) return;
// GC Driod Support
// Geonosian Hive
const gcDroidFactions = [
Expand Down

0 comments on commit 77ecfa5

Please sign in to comment.