Fix Change Floor Bug

This commit is contained in:
oc 2017-12-20 23:36:53 +08:00
parent 4fd2174cac
commit 38ac69c26c

View File

@ -109,7 +109,7 @@ events.prototype.lose = function(reason) {
////// 转换楼层结束的事件 //////
events.prototype.afterChangeFloor = function (floorId) {
if (!core.hasFlag("visited_"+floorId)) {
if (!core.isset(core.status.event.id) && !core.hasFlag("visited_"+floorId)) {
this.doEvents(core.floors[floorId].firstArrive);
core.setFlag("visited_"+floorId, true);
}