Explorar o código

Fix warning message when EditorPlugin script is not in tool mode.

(cherry picked from commit 0029440955f6d500a0c97bf7348a7b5353db0cea)
Andreas Haas %!s(int64=8) %!d(string=hai) anos
pai
achega
18f2b96186
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/editor_node.cpp

+ 1 - 1
editor/editor_node.cpp

@@ -2985,7 +2985,7 @@ void EditorNode::set_addon_plugin_enabled(const String &p_addon, bool p_enabled)
 	}
 
 	if (!script->is_tool()) {
-		show_warning("Unable to load addon script from path: '" + path + "' Script is does not support tool mode.");
+		show_warning("Unable to load addon script from path: '" + path + "' Script is not in tool mode.");
 		return;
 	}