Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleitnick committed Nov 30, 2023
1 parent 2bbba77 commit fbe4d22
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Packages/
src/Packages/
src/wally.lock
build/
sourcemap.json
12 changes: 12 additions & 0 deletions dev.project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "knit-dev",
"tree": {
"$className": "DataModel",
"ReplicatedStorage": {
"$className": "ReplicatedStorage",
"Knit": {
"$path": "src"
}
}
}
}
4 changes: 2 additions & 2 deletions src/KnitClient.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ KnitClient.Player = game:GetService("Players").LocalPlayer
pulled in via Wally instead of relying on Knit's Util folder, as this
folder only contains what is necessary for Knit to run in Wally mode.
]=]
KnitClient.Util = script.Parent.Parent
KnitClient.Util = (script.Parent :: Instance).Parent

local Promise = require(KnitClient.Util.Promise)
local Comm = require(KnitClient.Util.Comm)
Expand All @@ -131,7 +131,7 @@ end

local function GetServicesFolder()
if not servicesFolder then
servicesFolder = script.Parent:WaitForChild("Services")
servicesFolder = (script.Parent :: Instance):WaitForChild("Services")
end
return servicesFolder
end
Expand Down
2 changes: 1 addition & 1 deletion src/KnitServer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ local KnitServer = {}
pulled in via Wally instead of relying on Knit's Util folder, as this
folder only contains what is necessary for Knit to run in Wally mode.
]=]
KnitServer.Util = script.Parent.Parent
KnitServer.Util = (script.Parent :: Instance).Parent

local SIGNAL_MARKER = newproxy(true)
getmetatable(SIGNAL_MARKER).__tostring = function()
Expand Down

0 comments on commit fbe4d22

Please sign in to comment.