Merge pull request #10848 from hpvb/fix-has-method-on-script

Has_method is already provided by Object

[ci skip]
This commit is contained in:
Rémi Verschelde 2017-09-01 09:38:45 +02:00 committed by GitHub
commit dafcd06bd1

View file

@ -55,7 +55,6 @@ void Script::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_source_code", "source"), &Script::set_source_code);
ClassDB::bind_method(D_METHOD("reload", "keep_state"), &Script::reload, DEFVAL(false));
ClassDB::bind_method(D_METHOD("has_method", "method_name"), &Script::has_method);
ClassDB::bind_method(D_METHOD("has_script_signal", "signal_name"), &Script::has_script_signal);
ClassDB::bind_method(D_METHOD("is_tool"), &Script::is_tool);