From 8a39f85c45e342006da577cd47c83020b530b2c0 Mon Sep 17 00:00:00 2001 From: En Yi Date: Thu, 23 Nov 2023 21:53:36 +0800 Subject: [PATCH] Change key to toggle grid --- scenes/editor_scene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scenes/editor_scene.c b/scenes/editor_scene.c index 5c7a330..9052102 100644 --- a/scenes/editor_scene.c +++ b/scenes/editor_scene.c @@ -1016,7 +1016,7 @@ void init_sandbox_scene(LevelScene_t* scene) } draw_pos.y += SELECTION_TILE_SIZE + 2; - DrawText("R to reset the map, Q/E to cycle the selection,\nF to toggle metal crates. T to toggle crate spawn behaviour\nH to toggle grid, V to set spawn point", 0, draw_pos.y, 14, BLACK); + DrawText("R to reset the map, Q/E to cycle the selection,\nF to toggle metal crates. T to toggle crate spawn behaviour\nB to toggle grid, V to set spawn point", 0, draw_pos.y, 14, BLACK); EndTextureMode(); @@ -1076,7 +1076,7 @@ void init_sandbox_scene(LevelScene_t* scene) sc_map_put_64(&scene->scene.action_map, KEY_T, ACTION_CRATE_ACTIVATION); sc_map_put_64(&scene->scene.action_map, KEY_L, ACTION_EXIT); sc_map_put_64(&scene->scene.action_map, KEY_R, ACTION_RESTART); - sc_map_put_64(&scene->scene.action_map, KEY_H, ACTION_TOGGLE_GRID); + sc_map_put_64(&scene->scene.action_map, KEY_B, ACTION_TOGGLE_GRID); sc_map_put_64(&scene->scene.action_map, KEY_V, ACTION_SET_SPAWNPOINT); }