소스 검색

fixes #528

tags/v0.1.10^2
big bad waffle 6 년 전
부모
커밋
faf4e5b20b
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. +6
    -1
      src/server/components/auth.js

+ 6
- 1
src/server/components/auth.js 파일 보기

@@ -108,7 +108,7 @@ define([
io.set({
ent: this.username,
field: 'stash',
value: JSON.stringify(this.obj.stash.items)
value: JSON.stringify(this.obj.stash.items).split(`'`).join('`')
});
},

@@ -209,6 +209,11 @@ define([
},

onGetStash: function (data, character, result) {
if (result) {
result = result.split('`').join(`'`);
result = result.replace(/''+/g, '\'');
}

this.stash = JSON.parse(result || '[]');

if (this.skins != null) {


불러오는 중...
취소
저장