mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
parent
28a4eec9a7
commit
e48c5daddf
113 changed files with 528 additions and 528 deletions
|
@ -257,7 +257,7 @@ void InputMap::load_from_project_settings() {
|
|||
|
||||
String name = pi.name.substr(pi.name.find("/") + 1, pi.name.length());
|
||||
|
||||
Dictionary action = ProjectSettings::get_singleton()->get(pi.name);
|
||||
Dictionary action = GLOBAL_GET(pi.name);
|
||||
float deadzone = action.has("deadzone") ? (float)action["deadzone"] : 0.5f;
|
||||
Array events = action["events"];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue