Skip to content

Commit 920869b

Browse files
committed
use tools assemblies if TOOLS_ENABLED
1 parent 9aa5e7c commit 920869b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/mono/mono_gd/gd_mono.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,10 @@ godot_plugins_initialize_fn initialize_hostfxr_and_godot_plugins(bool &r_runtime
430430
godot_plugins_initialize_fn godot_plugins_initialize = nullptr;
431431

432432
HostFxrCharString godot_plugins_path = str_to_hostfxr(
433-
GodotSharpDirs::get_api_assemblies_dir().path_join("GodotPlugins.dll"));
433+
GodotSharpDirs::get_tools_assemblies_dir().path_join("GodotPlugins.dll"));
434434

435435
HostFxrCharString config_path = str_to_hostfxr(
436-
GodotSharpDirs::get_api_assemblies_dir().path_join("GodotPlugins.runtimeconfig.json"));
436+
GodotSharpDirs::get_tools_assemblies_dir().path_join("GodotPlugins.runtimeconfig.json"));
437437

438438
load_assembly_and_get_function_pointer_fn load_assembly_and_get_function_pointer =
439439
initialize_hostfxr_for_config(get_data(config_path));

0 commit comments

Comments
 (0)