summaryrefslogtreecommitdiffstats
path: root/servers/navigation_server_2d.h
diff options
context:
space:
mode:
authorsmix8 <52464204+smix8@users.noreply.github.com>2023-02-13 12:17:24 +0100
committersmix8 <52464204+smix8@users.noreply.github.com>2023-02-16 11:12:48 +0100
commitaecad7bb25bf9b13c0ddc30a91cb68787c8dd53b (patch)
tree5d87513a00003b6ab43868f6b3b551267092719b /servers/navigation_server_2d.h
parentaa6ec763179e5bf1d1300aa72dc5f4172d810efa (diff)
downloadredot-engine-aecad7bb25bf9b13c0ddc30a91cb68787c8dd53b.tar.gz
Fix navigation debug not toggleable in scripts
Fixes that navigation debug was not toggleable in script while even the docs mentioned it.
Diffstat (limited to 'servers/navigation_server_2d.h')
-rw-r--r--servers/navigation_server_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/navigation_server_2d.h b/servers/navigation_server_2d.h
index 153e60272c..ed2e39e53c 100644
--- a/servers/navigation_server_2d.h
+++ b/servers/navigation_server_2d.h
@@ -234,10 +234,10 @@ public:
NavigationServer2D();
virtual ~NavigationServer2D();
-#ifdef DEBUG_ENABLED
void set_debug_enabled(bool p_enabled);
bool get_debug_enabled() const;
+#ifdef DEBUG_ENABLED
void set_debug_navigation_edge_connection_color(const Color &p_color);
Color get_debug_navigation_edge_connection_color() const;