This website works better with JavaScript.
首頁
探索
說明
註冊
登入
gitlord
/
isleward
镜像来自
https://gitlab.com/Isleward/isleward.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
203
Wiki
Activity
瀏覽代碼
bug: Fixed crash when receiving messages before window.player exists
tags/v0.11.0.1^2
Shaun
2 年之前
父節點
2da0208563
當前提交
78cefcb225
共有
2 個文件被更改
,包括
6 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/client/ui/templates/messages/messages.js
+3
-0
src/client/ui/templates/party/party.js
+ 3
- 0
src/client/ui/templates/messages/messages.js
查看文件
@@ -191,6 +191,9 @@ define([
},
onGetMessages: function (e) {
if (!window.player)
return;
let messages = e.messages;
if (!messages.length)
messages = [messages];
+ 3
- 0
src/client/ui/templates/party/party.js
查看文件
@@ -39,6 +39,9 @@ define([
},
onGetConnectedPlayer: function (msg) {
if (!window.player)
return;
const { party } = this;
const { player: { serverId: playerId, zoneId: playerZone } } = window;
Write
Preview
Loading…
取消
儲存