Commit 6d3fbd89 authored by 范雪寒's avatar 范雪寒

feat: 结束时的处理

parent 9770a0f5
......@@ -184,7 +184,7 @@ export class GameServer {
console.log("startIdx = " + startIdx);
const letterList = [];
for (let i = startIdx + 1; i < board.children.length; i++) {
for (let i = startIdx + 1; i < board.children.length - 1; i++) {
const targetNode = board.children[i];
const itemData = targetNode.getComponent("ItemData");
const nodeLetter = itemData.letter.toUpperCase();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment