Selaa lähdekoodia

fixed leaderboard char level saving

tags/v0.3.2
Big Bad Waffle 5 vuotta sitten
vanhempi
commit
ff3c182d71
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. +3
    -2
      src/server/leaderboard/leaderboard.js

+ 3
- 2
src/server/leaderboard/leaderboard.js Näytä tiedosto

@@ -56,7 +56,7 @@ module.exports = {
});

this.list = list.map(l => ({
name: l.key,
name: l.id,
level: l.value.level,
prophecies: l.value.prophecies
}));
@@ -88,9 +88,10 @@ module.exports = {
};

this.list.push(exists);
this.sort();
}

this.sort();

this.save(exists);
},



Ladataan…
Peruuta
Tallenna