diff --git a/src/community/docsLessons.jsx b/src/community/docsLessons.jsx index ba15c17..1bac624 100644 --- a/src/community/docsLessons.jsx +++ b/src/community/docsLessons.jsx @@ -2471,7 +2471,7 @@ game.self.onInteract(() => { на петлю и раскачивает.

- {`// === ИГРА «КАЧЕЛИ» — главный скрипт === + {`// === ИГРА «КАЧЕЛИ» — главный скрипт === let won = false; @@ -2512,7 +2512,7 @@ game.onMessage('win', () => { const p = game.player.position; game.scene.spawnParticles('confetti', { x: p.x, y: p.y + 3, z: p.z }, { duration: 3, count: 3 }); -});`} +});`}

Разберём по частям: