Переглянути джерело

fixed an issue where rarely after a char delete the char list will have undefined chars

tags/v0.1.10^2
Big Bad Waffle 6 роки тому
джерело
коміт
736462c870
1 змінених файлів з 7 додано та 1 видалено
  1. +7
    -1
      src/server/components/auth.js

+ 7
- 1
src/server/components/auth.js Переглянути файл

@@ -526,7 +526,13 @@ define([
leaderboard.deleteCharacter(msg.data.name);
},
onRemoveFromList: function (msg, result) {
msg.callback(this.characterList);
var result = this.characterList
.map(c => ({
name: c.name ? c.name : c,
level: leaderboard.getLevel(c.name ? c.name : c)
}));

msg.callback(result);
},

onAppendList: function (msg, result) {


Завантаження…
Відмінити
Зберегти