diff --git a/libs/enemys.js b/libs/enemys.js index 8179bcda..8f1358a3 100644 --- a/libs/enemys.js +++ b/libs/enemys.js @@ -372,7 +372,7 @@ enemys.prototype._getCurrentEnemys_sort = function (enemys) { } enemys.prototype.hasEnemyLeft = function (enemyId, floorId) { - floorId = floorId || core.status.floorId; + if (floorId == null) floorId = core.status.floorId; if (!(floorId instanceof Array)) floorId = [floorId]; if (!(enemyId instanceof Array)) enemyId = [enemyId]; var list; diff --git a/project/images/npc48.png b/project/images/npc48.png old mode 100644 new mode 100755 diff --git a/启动服务.exe b/启动服务.exe index f426d69b..61a35828 100644 Binary files a/启动服务.exe and b/启动服务.exe differ