From 32d997020569fa2b92ff73a41918230f3fc90ef7 Mon Sep 17 00:00:00 2001 From: AeioMuch <75151379+AeioMuch@users.noreply.github.com> Date: Sat, 14 Jan 2023 17:05:04 +0100 Subject: [PATCH] Update get_world() to get_world_3d() in using_servers.rst (#6449) get_world() with get_world_3d() on the using servers page --- tutorials/performance/using_servers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/performance/using_servers.rst b/tutorials/performance/using_servers.rst index d0a1d61d4..f250cf819 100644 --- a/tutorials/performance/using_servers.rst +++ b/tutorials/performance/using_servers.rst @@ -144,7 +144,7 @@ The 3D APIs are different from the 2D ones, so the instantiation API must be use var instance = RenderingServer.instance_create() # Set the scenario from the world, this ensures it # appears with the same objects as the scene. - var scenario = get_world().scenario + var scenario = get_world_3d().scenario RenderingServer.instance_set_scenario(instance, scenario) # Add a mesh to it. # Remember, keep the reference.