You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Make Input Actions config not affect the editor
This commit is contained in:
@@ -688,7 +688,10 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas
|
||||
|
||||
#endif
|
||||
|
||||
input_map->load_from_globals();
|
||||
if (editor)
|
||||
input_map->load_default(); //keys for editor
|
||||
else
|
||||
input_map->load_from_globals(); //keys for game
|
||||
|
||||
if (video_driver=="") // specified in engine.cfg
|
||||
video_driver=_GLOBAL_DEF("display/driver",Variant((const char*)OS::get_singleton()->get_video_driver_name(0)));
|
||||
|
||||
Reference in New Issue
Block a user