更新关卡配置

This commit is contained in:
COMPUTER\EDY 2026-01-29 14:34:55 +08:00
parent 423f9bcb64
commit b57f7af6ff
2 changed files with 11 additions and 6 deletions

View File

@ -369,9 +369,14 @@ export class LQCollide extends Component {
if (block.color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
return;
}
if (block.block_Info.node.getComponent("Block").color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
return;
if (block) {
if (block.block_Info) {
if (block.block_Info.node.getComponent("Block").color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
return;
}
}
}
// if (this.is_music == false) {
// this.is_music = true;
cc.fx.AudioManager._instance.playEffect("simpleColor", null);

View File

@ -335,18 +335,18 @@
{
"id": 1067,
"num": 20,
"color": 5,
"color": 8,
"special": 0,
"length": 2,
"colorArray": "474"
"colorArray": "744"
},
{
"id": 1068,
"num": 22,
"color": 5,
"color": 8,
"special": 0,
"length": 0,
"colorArray": "474"
"colorArray": "744"
}
]
]