Change run key to ctrl and some other messy stuff to make that work,,
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user