mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Fix get_method from named lambda
				
					
				
			This commit is contained in:
		
							parent
							
								
									013e8e3afb
								
							
						
					
					
						commit
						793cc080cb
					
				
					 5 changed files with 11 additions and 1 deletions
				
			
		|  | @ -63,6 +63,10 @@ ObjectID GDScriptRPCCallable::get_object() const { | |||
| 	return object->get_instance_id(); | ||||
| } | ||||
| 
 | ||||
| StringName GDScriptRPCCallable::get_method() const { | ||||
| 	return method; | ||||
| } | ||||
| 
 | ||||
| void GDScriptRPCCallable::call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const { | ||||
| 	r_return_value = object->callp(method, p_arguments, p_argcount, r_call_error); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Septian
						Septian