More changes, im going to bed

This commit is contained in:
2026-11-06 00:17:27 -03:00
parent 9bec0f3718
commit 7458a2d42a
13 changed files with 35 additions and 53 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ Deno.test("a worldgen mod hooks the terrain in engine.common", async () => {
`import { engine, hook } from "cubi/engine";
// no ground anywhere, so it's all sea
export function setup() {
hook(engine.common.OverworldTerrain.prototype, "density", { replace: () => -1 });
hook(engine.common.NoiseTerrain.prototype, "density", { replace: () => -1 });
}`,
],
})
@@ -136,7 +136,7 @@ Deno.test({
"worldgen.ts",
`import { engine, hook } from "cubi/engine";
export function setup() {
hook(engine.common.OverworldTerrain.prototype, "density", { replace: () => -1 });
hook(engine.common.NoiseTerrain.prototype, "density", { replace: () => -1 });
}`,
],
})