Team Create (���������� ��������������) + ���������� ���� + ������ 16/17/20/40/44/05 #34

Merged
min merged 69 commits from restore/all-tasks into main 2026-06-08 01:13:01 +00:00
Showing only changes of commit e477d652f6 - Show all commits

View File

@ -2593,6 +2593,10 @@ const game = {
opts = opts && typeof opts === 'object' ? opts : {}; opts = opts && typeof opts === 'object' ? opts : {};
this._opts = opts; this._opts = opts;
this._active = true; this._active = true;
// Колбэки можно передавать прямо в опциях show({ onPlay, onShow, onHide }).
if (typeof opts.onPlay === 'function') this._onPlay.push(opts.onPlay);
if (typeof opts.onShow === 'function') this._onShow.push(opts.onShow);
if (typeof opts.onHide === 'function') this._onHide.push(opts.onHide);
// 1) Заблокировать управление игроком (наблюдатель). // 1) Заблокировать управление игроком (наблюдатель).
_send('player.setInputBlocked', { blocked: true }); _send('player.setInputBlocked', { blocked: true });
game.hud.setVisible(false); game.hud.setVisible(false);