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

This commit is contained in:
Andreas Haas 2017-04-09 10:32:38 +02:00
parent 4286aef693
commit 0029440955
No known key found for this signature in database
GPG key ID: B5FFAE1B65FBD2E1

View file

@ -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;
}