feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -51,7 +51,7 @@ void RemoteTransform2D::_update_remote() {
|
|||
return;
|
||||
}
|
||||
|
||||
Node2D *n = Object::cast_to<Node2D>(ObjectDB::get_instance(cache));
|
||||
Node2D *n = ObjectDB::get_instance<Node2D>(cache);
|
||||
if (!n) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -117,7 +117,7 @@ void RemoteTransform2D::_notification(int p_what) {
|
|||
case NOTIFICATION_RESET_PHYSICS_INTERPOLATION: {
|
||||
if (cache.is_valid()) {
|
||||
_update_remote();
|
||||
Node2D *n = Object::cast_to<Node2D>(ObjectDB::get_instance(cache));
|
||||
Node2D *n = ObjectDB::get_instance<Node2D>(cache);
|
||||
if (n) {
|
||||
n->reset_physics_interpolation();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue