Skip to content

Commit d57b167

Browse files
authored
Fix VMFConfig not loaded on project startup (#50)
1 parent c729727 commit d57b167

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

addons/godotvmf/godotvmf.gd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ func _enter_tree() -> void:
3838
entity_context_plugin = VMFEntityContextMenu.new();
3939
add_context_menu_plugin(EditorContextMenuPlugin.CONTEXT_SLOT_FILESYSTEM, entity_context_plugin);
4040

41+
VMFConfig.load_config()
42+
4143
func _exit_tree():
42-
remove_autoload_singleton("VMFConfig");
4344
remove_custom_type("VMFNode");
4445
remove_custom_type("ValveIONode");
4546

0 commit comments

Comments
 (0)