������ 14/16/20/40/44: vehicle, ����, ����������, damage floaters, ��������� #20

Merged
min merged 30 commits from feat/vehicle-task14 into main 2026-06-07 14:09:59 +00:00
Showing only changes of commit 37d1acbba1 - Show all commits

View File

@ -3884,6 +3884,11 @@ export class GameRuntime {
const id = t.id ?? t.ref;
this.scene3d?.primitiveManager?.removeInstance(id);
}
// Снять interact-подсказку удалённого объекта (иначе «E» висит на пустоте).
if (t.kind && (t.ref ?? t.id) != null && Array.isArray(this._interactables)) {
const ref = t.kind + ':' + (t.ref ?? t.id);
this._interactables = this._interactables.filter(it => it.ref !== ref);
}
this.scheduleSceneSnapshot();
} catch (e) {
// eslint-disable-next-line no-console