Fix changePos
This commit is contained in:
parent
1b1b46fa6d
commit
a668881fd8
@ -1498,7 +1498,7 @@ events.prototype._action_changeFloor = function (data, x, y, prefix) {
|
||||
|
||||
events.prototype._action_changePos = function (data, x, y, prefix) {
|
||||
core.clearMap('hero');
|
||||
if (data.x == null && data.y == null && data.direction) {
|
||||
if (!data.loc && data.direction) {
|
||||
core.setHeroLoc('direction', core.turnDirection(data.direction), true);
|
||||
core.drawHero();
|
||||
return core.doAction();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user