GDScript: Fix get_*_list() methods return incorrect info

This commit is contained in:
Danil Alexeev committed 2023-09-04 00:21:03 +03:00
1 parent fa3428ff25
commit 462d8f4752
15 files changed
+429 -305

No files matched your search

@@ -35,9 +35,6 @@
#include "core/debugger/engine_debugger.h"
uint32_t GDScriptByteCodeGenerator::add_parameter(const StringName &p_name, bool p_is_optional, const GDScriptDataType &p_type) {
#ifdef TOOLS_ENABLED
function->arg_names.push_back(p_name);
#endif
function->_argument_count++;
function->argument_types.push_back(p_type);
if (p_is_optional) {