Fix bool_e
This commit is contained in:
parent
e737d25cfe
commit
e0c4544b8c
@ -1083,6 +1083,7 @@ ActionParser.prototype.matchEvalAtom = function(args) {
|
||||
// 勾选框
|
||||
match = /^(true|false)$/.exec(args[0])
|
||||
if(match){
|
||||
args[0]='true'==args[0];
|
||||
return rt(MotaActionBlocks['bool_e'].xmlText, args);
|
||||
}
|
||||
// 怪物属性
|
||||
|
||||
@ -15,10 +15,13 @@ function core() {
|
||||
'images': {},
|
||||
'bgms': {},
|
||||
'sounds': {},
|
||||
'ground': null,
|
||||
'items': {},
|
||||
'enemys': {},
|
||||
'icons': {},
|
||||
'ground': null,
|
||||
'grundCanvas': null,
|
||||
'groundPattern': null,
|
||||
'autotileEdges': {},
|
||||
}
|
||||
this.timeout = {
|
||||
'turnHeroTimeout': null,
|
||||
|
||||
@ -176,13 +176,14 @@ loader.prototype._loadAutotiles_async = function (onprogress, onfinished) {
|
||||
|
||||
loader.prototype._loadAutotiles_afterLoad = function (keys, autotiles) {
|
||||
// autotile需要保证顺序
|
||||
keys.forEach(function (v) {
|
||||
core.material.images.autotile[v] = autotiles[v];
|
||||
keys.forEach(function (v) {
|
||||
core.material.images.autotile[v] = autotiles[v];
|
||||
});
|
||||
|
||||
setTimeout(function () {
|
||||
core.maps._makeAutotileEdges();
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
// ------ 加载额外素材 ------ //
|
||||
|
||||
Loading…
Reference in New Issue
Block a user