Change run key to ctrl and some other messy stuff to make that work,,

This commit is contained in:
2026-09-27 20:10:03 -03:00
parent 966b517bbd
commit 2207eea1e1
4 changed files with 35 additions and 5 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ Deno.test("sneaking doesn't walk off edges, from any direction, but still jumps
player.set_position(1.5, 0, 1.5);
player.yaw = yaw;
run(player, 1, () => false);
InputManager.keys_down.add("KeyC");
InputManager.keys_down.add("ShiftLeft");
InputManager.keys_down.add(key);
for (let tick = 0; tick < 60; tick++) player.tick();
assertEquals(player.y, 0, `fell off with ${key} at yaw ${yaw}`);