From 406af25af3642fe2e4a6931f76620f9afd68f232 Mon Sep 17 00:00:00 2001 From: Paracosm-Daemon Date: Sat, 3 Aug 2024 19:49:25 -0700 Subject: [PATCH] Remove context assertions since it breaks the main module --- src/Client.luau | 3 --- src/Server.luau | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/Client.luau b/src/Client.luau index 20533f3..565f828 100644 --- a/src/Client.luau +++ b/src/Client.luau @@ -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 diff --git a/src/Server.luau b/src/Server.luau index db3e72d..f72805c 100644 --- a/src/Server.luau +++ b/src/Server.luau @@ -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