1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #106848 from Faless/mp/rpc_config_revert

Expose `get_rpc_config` and `get_node_rpc_config`
This commit is contained in:
Thaddeus Crews
2025-05-27 09:39:32 -05:00
13 changed files with 40 additions and 18 deletions

View File

@@ -105,7 +105,7 @@ const SceneRPCInterface::RPCConfigCache &SceneRPCInterface::_get_node_config(con
return rpc_cache[oid];
}
RPCConfigCache cache;
_parse_rpc_config(p_node->get_rpc_config(), true, cache);
_parse_rpc_config(p_node->get_node_rpc_config(), true, cache);
if (p_node->get_script_instance()) {
_parse_rpc_config(p_node->get_script_instance()->get_rpc_config(), false, cache);
}