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

Use unreliable events #237

Merged
merged 4 commits into from
Nov 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Improvements
Sleitnick committed Nov 30, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit fbe4d229990005a12cfb4820e66d902d5f363cb2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
@@ -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)
@@ -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
2 changes: 1 addition & 1 deletion src/KnitServer.lua
Original file line number Diff line number Diff line change
@@ -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()