mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-07 07:41:50 -05:00
GDScript: Fix get_*_list() methods return incorrect info
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user