Skip to content

Commit

Permalink
Remove context assertions since it breaks the main module
Browse files Browse the repository at this point in the history
  • Loading branch information
Starveldt committed Aug 4, 2024
1 parent 39d3655 commit 406af25
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/Client.luau
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
]=]--
local Weaver: WeaverImpl = {} :: WeaverImpl
-- Services
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

assert(RunService:IsClient(), "WeaverClient cannot be ran outside of the client!")
-- Modules
local Module = script.Parent

Expand Down
3 changes: 0 additions & 3 deletions src/Server.luau
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
All of the logic here is for starting and handling services alongside the communication bridge with the client.
]=]--
local Weaver: WeaverImpl = {} :: WeaverImpl
-- Services
local RunService = game:GetService("RunService")
assert(RunService:IsServer(), "WeaverServer cannot be ran outside of the server!")
-- Modules
local Module = script.Parent

Expand Down

0 comments on commit 406af25

Please sign in to comment.