summaryrefslogtreecommitdiff
path: root/servers/navigation_server_3d.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-05 17:10:21 +0100
committerGitHub <noreply@github.com>2022-01-05 17:10:21 +0100
commitcbf8757289c68c2ca01a129e8ab8458a2c8fc435 (patch)
treeb34ffb50762288d76753a1d7decd7e8cfa6a2b8f /servers/navigation_server_3d.cpp
parent3fcae531e225681563a1a65a064c265fbfce4a7f (diff)
parentb23552922f012bc90e7ebd2dde26b46aacbbdddd (diff)
Merge pull request #56522 from akien-mga/navigation-restore-safe-get_singleton
Diffstat (limited to 'servers/navigation_server_3d.cpp')
-rw-r--r--servers/navigation_server_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/navigation_server_3d.cpp b/servers/navigation_server_3d.cpp
index 03c75369a6..d78e58bea0 100644
--- a/servers/navigation_server_3d.cpp
+++ b/servers/navigation_server_3d.cpp
@@ -84,7 +84,7 @@ void NavigationServer3D::_bind_methods() {
ADD_SIGNAL(MethodInfo("map_changed", PropertyInfo(Variant::RID, "map")));
}
-NavigationServer3D *NavigationServer3D::get_singleton() {
+const NavigationServer3D *NavigationServer3D::get_singleton() {
return singleton;
}