diff --git a/assets/Game/scripts/SlotGame.ts b/assets/Game/scripts/SlotGame.ts index 5303ca4..743d9bd 100644 --- a/assets/Game/scripts/SlotGame.ts +++ b/assets/Game/scripts/SlotGame.ts @@ -105,7 +105,7 @@ export class SlotGame extends Component { this.grayNode = this.node.getChildByName('grayNode'); this.winLayer = this.node.getChildByName('winLayer'); this.readyHand = this.node.getChildByName('readyHand'); - this.scatterLayer = this.node.getChildByPath('scatterLayer/layer') + this.scatterLayer = this.node.getChildByPath('scatterLayer') this.winType = this.node.getChildByName('winType');