mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
-Fixed bug in "extends"
This commit is contained in:
parent
1cad087969
commit
71355aaab7
4 changed files with 17 additions and 111 deletions
|
@ -354,6 +354,7 @@ public:
|
|||
virtual Variant call(const StringName& p_method,const Variant** p_args,int p_argcount,Variant::CallError &r_error) {
|
||||
|
||||
//print_line("attempt to call "+String(p_method));
|
||||
ERR_FAIL_COND_V(!instance,Variant());
|
||||
|
||||
r_error.error=Variant::CallError::CALL_OK;
|
||||
|
||||
|
@ -519,7 +520,10 @@ public:
|
|||
}
|
||||
|
||||
|
||||
JNISingleton() {}
|
||||
JNISingleton() {
|
||||
instance=NULL;
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue