auto-git:

[change] src/runtime-three/runtime-host.ts
This commit is contained in:
2026-04-18 19:59:46 +02:00
parent 4afef32d5d
commit dd89ed3e18

View File

@@ -2762,11 +2762,11 @@ export class RuntimeHost {
private collectRuntimeStaticWaterContactPatches( private collectRuntimeStaticWaterContactPatches(
brush: RuntimeBoxBrushInstance brush: RuntimeBoxBrushInstance
) { ): ReturnType<typeof collectWaterContactPatches> {
const contactBounds: Parameters<typeof collectWaterContactPatches>[1] = []; const contactBounds: Parameters<typeof collectWaterContactPatches>[1] = [];
if (this.runtimeScene === null) { if (this.runtimeScene === null) {
return contactBounds; return [];
} }
for (const collider of this.runtimeScene.colliders) { for (const collider of this.runtimeScene.colliders) {