From 6257f077660412e8eeb6896e1b12307ce9fd33d4 Mon Sep 17 00:00:00 2001 From: Zakarya Date: Mon, 1 Jul 2024 19:52:49 -0700 Subject: [PATCH] Add a comment for check_controls --- addons/fpc/character.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/fpc/character.gd b/addons/fpc/character.gd index e0c5467..5b8223c 100644 --- a/addons/fpc/character.gd +++ b/addons/fpc/character.gd @@ -96,6 +96,7 @@ func _ready(): check_controls() func check_controls(): # If you add a control, you might want to add a check for it here. + # The actions are being disabled so the engine doesn't halt the entire project in debug mode if !InputMap.has_action(JUMP): push_error("No control mapped for jumping. Please add an input map control. Disabling jump.") jumping_enabled = false