Explorar el Código

another fix for #1325

tags/v0.4.1.5
Big Bad Waffle hace 4 años
padre
commit
bdef602fcc
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      src/server/world/map.js

+ 3
- 0
src/server/world/map.js Ver fichero

@@ -444,6 +444,9 @@ module.exports = {
canPathFromPos: function (pos) {
const canPath = this.spawn.some(s => {
const path = physics.getPath(pos, s);
if (!path.length)
return true;
const { x, y } = path[path.length - 1];
const isFullPath = (s.x === x && s.y === y);



Cargando…
Cancelar
Guardar