summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2021-03-15 12:45:28 +0100
committerGilles Roudière <gilles.roudiere@gmail.com>2021-03-15 15:58:59 +0100
commitac7073f58655094d08daf59e3b1b36946c5ee02b (patch)
treef536b050c4b026fb4aa87c1ddce5f66bc26a2ce0 /scene/main
parent6eef187a81cbdd3cd314776de372e753f79f9831 (diff)
Allow Navigation to be more flexible
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index e2b30cfa3d..e4cda4b96f 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -1163,7 +1163,7 @@ void Viewport::set_world_2d(const Ref<World2D> &p_world_2d) {
if (p_world_2d.is_valid()) {
world_2d = p_world_2d;
} else {
- WARN_PRINT("Invalid world_3d");
+ WARN_PRINT("Invalid world_2d");
world_2d = Ref<World2D>(memnew(World2D));
}