浏览代码

fixed polylines for newer map files

tags/v0.3.3^2
Big Bad Waffle 4 年前
父节点
当前提交
9ff22a49dd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/server/world/map.js

+ 1
- 1
src/server/world/map.js 查看文件

@@ -329,7 +329,7 @@ module.exports = {
object: function (layerName, cell) {
//Fixes for newer versions of tiled
cell.properties = objectifyProperties(cell.properties);
cell.polyline = cell.polygon;
cell.polyline = cell.polyline || cell.polygon;

let clientObj = (layerName === 'clientObjects');
let cellInfo = this.builders.getCellInfo(cell.gid);


正在加载...
取消
保存