From 3366021ac9361739ad3f234269d4707521f225d6 Mon Sep 17 00:00:00 2001 From: CaptainAlbator <30738024+captalbator@users.noreply.github.com> Date: Sat, 21 Oct 2023 07:28:51 -0300 Subject: [PATCH] Fix mistake in roblox example (#7) --- pages/roblox/2-examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/roblox/2-examples.md b/pages/roblox/2-examples.md index eb83365..91de23b 100644 --- a/pages/roblox/2-examples.md +++ b/pages/roblox/2-examples.md @@ -26,8 +26,8 @@ for _, descendant in workspace:GetDescendants() do end -- Save the DataModel (game) back to the file that we read it from -file = roblox.serializePlace("myPlaceFile.rbxl") -fs.writeFile(file) +file = roblox.serializePlace(game) +fs.writeFile("myPlaceFile.rbxl", file) ``` ---