Преглед на файлове

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) {


Зареждане…
Отказ
Запис