Pārlūkot izejas kodu

another fix for #1325

(cherry picked from commit bdef602fcc)
tags/v0.4.2^2
Big Bad Waffle pirms 4 gadiem
vecāks
revīzija
5b66770f14
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      src/server/world/map.js

+ 3
- 0
src/server/world/map.js Parādīt failu

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



Notiek ielāde…
Atcelt
Saglabāt