SquadStatsJSPRO icon indicating copy to clipboard operation
SquadStatsJSPRO copied to clipboard

Not in use and returns undefined

Open watchful-eyes opened this issue 3 years ago • 1 comments

https://github.com/11TStudio/SquadStatsJSPRO/blob/8655123a977bc6a800fbf53902fbfd439990f129/base/SquadStatsJSv3.js#L1076-L1081 This data never used in ssjspro Also should be like this

 await resp.add(
        "Matches",
        `SELECT COUNT(DISTINCT(\`match\`)) as Matches FROM DBLog_Deaths WHERE attacker = "${steamUID}" AND \`match\` IS NOT NULL`,
        "0",
        "Matches"
    );

watchful-eyes avatar Oct 31 '22 13:10 watchful-eyes

You are right @CO-RONA Thanks for pointing it out, can you open a PR with the fix please so I can merge it?

LeventHAN avatar Oct 31 '22 15:10 LeventHAN