Procházet zdrojové kódy

fixed polylines for newer map files

tags/v0.3.3^2
Big Bad Waffle před 4 roky
rodič
revize
9ff22a49dd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/server/world/map.js

+ 1
- 1
src/server/world/map.js Zobrazit soubor

@@ -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);


Načítá se…
Zrušit
Uložit