1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Rename NavigationServer's free method to free_rid

This commit is contained in:
Haoyu Qiu
2022-04-08 17:31:04 +08:00
parent 14856b1dbd
commit f24312380f
4 changed files with 6 additions and 6 deletions

View File

@@ -160,7 +160,7 @@ void Navigation2DServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("agent_is_map_changed", "agent"), &Navigation2DServer::agent_is_map_changed);
ClassDB::bind_method(D_METHOD("agent_set_callback", "agent", "receiver", "method", "userdata"), &Navigation2DServer::agent_set_callback, DEFVAL(Variant()));
ClassDB::bind_method(D_METHOD("free", "object"), &Navigation2DServer::free);
ClassDB::bind_method(D_METHOD("free_rid", "rid"), &Navigation2DServer::free);
}
Navigation2DServer::Navigation2DServer() {