瀏覽代碼

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

Andreas Haas 8 年之前
父節點
當前提交
0029440955
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/editor_node.cpp

+ 1 - 1
editor/editor_node.cpp

@@ -2815,7 +2815,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;
 	}