File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " spectra-server" ,
3- "version" : " 0.2.19 " ,
3+ "version" : " 0.2.20 " ,
44 "author" : {
55 "name" : " Spectra Team" ,
66 "url" : " https://valospectra.com"
Original file line number Diff line number Diff line change 11require ( "dotenv" ) . config ( ) ;
2- import { Match } from "../model/Match" ;
32import logging from "../util/Logging" ;
43const Log = logging ( "DatabaseConnector" ) ;
54
Original file line number Diff line number Diff line change @@ -315,6 +315,11 @@ export class Player {
315315 }
316316
317317 private cloveSpecificChecks ( data : Partial < IFormattedScoreboard | IFormattedAuxScoreboardTeam > ) {
318+ // If clove has no stats (i.e. round "0"), don't do anything
319+ if ( data . kills == 0 && data . deaths == 0 && data . assists == 0 ) {
320+ return ;
321+ }
322+
318323 // Clove using up all their ult points revives them with a timer on kills, set suffix for representative icon
319324 if ( data . currUltPoints == 0 && this . ultReady ) {
320325 this . setIconNameSuffix ( IconNameSuffixes . CLOVE_ULTIMATE ) ;
Original file line number Diff line number Diff line change 11import semver from "semver" ;
22
33export function isCompatibleVersion ( version : string ) : boolean {
4- return semver . satisfies ( version , `>=0.2.19 <0.3.0` ) ;
4+ return semver . satisfies ( version , `>=0.2.23 <0.3.0` ) ;
55}
You can’t perform that action at this time.
0 commit comments