Fix centerfly click

This commit is contained in:
oc 2018-08-28 01:26:49 +08:00
parent db2c218e0c
commit f7508ab342

View File

@ -730,7 +730,7 @@ actions.prototype.keyDownCtrl = function () {
//////
actions.prototype.clickCenterFly = function(x, y) {
if (x==core.status.event.data.x && y==core.status.event.data.y) {
if (x==core.status.event.data.poxX && y==core.status.event.data.posY) {
if (core.canUseItem('centerFly')) {
core.useItem('centerFly');
}