Fix bugs
This commit is contained in:
parent
53ee07348f
commit
34753d9552
@ -62,7 +62,7 @@ ActionParser.prototype.parse = function (obj,type) {
|
|||||||
if(!obj) obj=[];
|
if(!obj) obj=[];
|
||||||
var text_choices = null;
|
var text_choices = null;
|
||||||
for(var ii=obj.length-1,choice;choice=obj[ii];ii--) {
|
for(var ii=obj.length-1,choice;choice=obj[ii];ii--) {
|
||||||
text_choices=MotaActionBlocks['floorPartitionItem'].xmlText([obj[0], obj[1]||"", text_choices]);
|
text_choices=MotaActionBlocks['floorPartitionItem'].xmlText([choice[0], choice[1]||"", text_choices]);
|
||||||
}
|
}
|
||||||
return MotaActionBlocks['floorPartition_m'].xmlText([text_choices]);
|
return MotaActionBlocks['floorPartition_m'].xmlText([text_choices]);
|
||||||
|
|
||||||
|
|||||||
@ -2195,7 +2195,7 @@ control.prototype.clearRouteFolding = function () {
|
|||||||
////// 检查录像折叠 //////
|
////// 检查录像折叠 //////
|
||||||
control.prototype.checkRouteFolding = function () {
|
control.prototype.checkRouteFolding = function () {
|
||||||
// 未开启、未开始游戏、正在录像播放中、正在事件中:不执行
|
// 未开启、未开始游戏、正在录像播放中、正在事件中:不执行
|
||||||
if (!core.flags.enableRouteFolding || !core.isPlaying() || core.isReplaying() || core.status.event.id) {
|
if (!core.flags.enableRouteFolding || !core.isPlaying() || core.status.event.id) {
|
||||||
return this.clearRouteFolding();
|
return this.clearRouteFolding();
|
||||||
}
|
}
|
||||||
var hero = core.clone(core.status.hero, function (name, value) {
|
var hero = core.clone(core.status.hero, function (name, value) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user