Fix opening book on viewmap
This commit is contained in:
parent
265939bbb9
commit
70e961d824
@ -1250,8 +1250,7 @@ ui.prototype.drawCursor = function () {
|
||||
|
||||
////// 绘制怪物手册 //////
|
||||
ui.prototype.drawBook = function (index) {
|
||||
|
||||
var enemys = core.enemys.getCurrentEnemys(core.floorIds[core.status.event.selection]);
|
||||
var enemys = core.enemys.getCurrentEnemys(core.floorIds[(core.status.event.selection||{}).index]);
|
||||
var background = core.canvas.ui.createPattern(core.material.ground, "repeat");
|
||||
|
||||
clearInterval(core.interval.tipAnimate);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user