Skip to content

Commit 07bedec

Browse files
committed
Fixed mysql, updated footer version
1 parent 76c530e commit 07bedec

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

api/gametypes.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -364,22 +364,17 @@ class Gametypes{
364364
WHERE player_id=? AND gametype=?`;
365365

366366

367-
368-
369-
//if statments for division by zero
370-
let vars = [];
371-
372367
for(let i = 0; i < data.length; i++){
373368

374369
const d = data[i];
375370

376-
vars = [
371+
const vars = [
377372
d.matches,
378373
d.wins,
379374
d.losses,
380375
d.draws,
381376
d.playtime,
382-
data.first_bloods,
377+
d.first_bloods,
383378
d.frags,
384379
d.score,
385380
d.kills,

components/Footer/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function Footer({session}){
1010
<div>
1111
<CookieBanner session={session}/>
1212
<footer>
13-
Node UTStats 2.11.1 &copy; 2021-2023 <a className="yellow" href="https://github.com/scottadkin">Scott Adkin</a><br/>
13+
Node UTStats 2.11.2 &copy; 2021-2023 <a className="yellow" href="https://github.com/scottadkin">Scott Adkin</a><br/>
1414
<span className="yellow">Original UTStats &copy; 2005 azazel, )°DoE°(-AnthraX and toa</span><br/>
1515
<b><a style={{"color": "rgb(0,126,255)"}} href={"https://github.com/OldUnreal/UnrealTournamentPatches"}>Update UT to the Latest Unreal Tournament Patch by OldUnreal</a></b><br/>
1616
Thanks to <span className="yellow">Krull0r</span> for the Monster Icons.<br/>

0 commit comments

Comments
 (0)