Fix changeFloor stair
This commit is contained in:
parent
f9e3926e5d
commit
dc56983d59
@ -1501,7 +1501,7 @@ events.prototype._action_jumpHero = function (data, x, y, prefix) {
|
||||
events.prototype._action_changeFloor = function (data, x, y, prefix) {
|
||||
var loc = this.__action_getHeroLoc(data.loc, prefix);
|
||||
var heroLoc = {x: loc[0], y: loc[1], direction: data.direction};
|
||||
core.changeFloor(data.floorId, null, heroLoc, data.time, core.doAction);
|
||||
core.changeFloor(data.floorId, data.stair, heroLoc, data.time, core.doAction);
|
||||
}
|
||||
|
||||
events.prototype._action_changePos = function (data, x, y, prefix) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user