godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.81k stars 3.09k forks source link

Fix wrong lines of code in the "Using NavigationMaps" page #9514

Closed OverloadedOrama closed 3 months ago

OverloadedOrama commented 3 months ago

NavigationServer2D and 3D's map_set_active() method takes two arguments, the map RID and the boolean that makes the map active/inactive. The docs only contained the boolean, resulting in wrong code.

mhilbrunner commented 3 months ago

Thank you! Merged.