From db8fdeeeb29381ab77df7eb1c07734cb1417ff7a Mon Sep 17 00:00:00 2001
From: Robert Yevdokimov <105675984+ryevdokimov@users.noreply.github.com>
Date: Tue, 7 Jan 2025 18:32:52 -0500
Subject: [PATCH] Add warning to `InputMap.load_from_project_settings()` about
running it in a tool script
---
doc/classes/InputMap.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/classes/InputMap.xml b/doc/classes/InputMap.xml
index 0abd7c69742f..2e0d2be62315 100644
--- a/doc/classes/InputMap.xml
+++ b/doc/classes/InputMap.xml
@@ -107,6 +107,7 @@
Clears all [InputEventAction] in the [InputMap] and load it anew from [ProjectSettings].
+ [b]Warning:[/b] Calling this method inside a tool script will cause certain editor-specific inputs to not work.