Skip to content

Commit 9d36220

Browse files
committed
#2の解決をした
が、別の問題が発生した 初期化されない
1 parent 14f9375 commit 9d36220

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Script/script.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function chain_toggler(cell){
149149
adj_list=chain_yx=[];
150150
if(DATA.target.hand<=0){
151151
alert(`ゲームオーバー! スコアは${DATA.target.score}でした!`);
152-
board_init();
152+
import(DATALINK).then(x => {DATA = x.default ; board_init()});
153153
}
154154
}else if(CELL_COLOR>0){//チェイン開始の処理
155155
chain_now=true;
@@ -159,7 +159,6 @@ function chain_toggler(cell){
159159
}
160160
}
161161
function board_init(){
162-
console.log(DATA);
163162
load_board();
164163
falling_orb();
165164
DATA.target.score=0;

0 commit comments

Comments
 (0)