diff --git a/src/community/docsLessons.jsx b/src/community/docsLessons.jsx index 699a68d..d689946 100644 --- a/src/community/docsLessons.jsx +++ b/src/community/docsLessons.jsx @@ -3209,7 +3209,7 @@ game.self.onTouch(() => { каждое нажатие.

- {`// === ИГРА «ПЕРЕКЛЮЧАТЕЛИ» — главный скрипт === + {`// === ИГРА «ПЕРЕКЛЮЧАТЕЛИ» — главный скрипт === // правильный порядок рычагов const ORDER = [2, 3, 1]; @@ -3249,7 +3249,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 }); -});`} +});`}

Самое интересное — проверка порядка: