Browse Source

Merge branch '137-mob-move-origin' into 'staging'

Fixes #137

See merge request !92
tags/v0.1.3^2
Big Bad Waffle 7 years ago
parent
commit
6a8201245a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/server/components/mob.js

+ 1
- 1
src/server/components/mob.js View File

@@ -47,7 +47,7 @@ define([
return;

var walkDistance = this.walkDistance;
if (walkDistance <= 0)
if ((!goHome) && (walkDistance <= 0))
return;

var obj = this.obj;


Loading…
Cancel
Save