Skip to content

Commit

Permalink
Fix mistake in roblox example (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
captalbator authored Oct 21, 2023
1 parent 95f49cc commit 3366021
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/roblox/2-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```

---
Expand Down

0 comments on commit 3366021

Please sign in to comment.