Skip to content

Commit

Permalink
Merge pull request #17 from RoStrap/Validark-patch-15
Browse files Browse the repository at this point in the history
Remove bundling code
  • Loading branch information
Validark authored Jan 16, 2019
2 parents 9fcb29b + c9356c9 commit 75737c7
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions ReplicatedPseudoInstance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,9 @@ local SortedArray = Resources:LoadLibrary("SortedArray")
local PseudoInstance = Resources:LoadLibrary("PseudoInstance")

local Templates = Resources:GetLocalTable("Templates")
local RemoteEvent, RemoteFunction

if IsServer and IsClient and RunService:IsStudio() then
RemoteEvent = Instance.new("RemoteEvent")
RemoteFunction = Instance.new("RemoteFunction")
else
RemoteEvent = Resources:GetRemoteEvent("PseudoInstanceReplicator")
RemoteFunction = Resources:GetRemoteFunction("PseudoInstanceStartupVerify")
end

local RemoteEvent = Resources:GetRemoteEvent("PseudoInstanceReplicator")
local RemoteFunction = Resources:GetRemoteFunction("PseudoInstanceStartupVerify")

local AutoReplicatedInstances = {}
local LoadedPlayers = setmetatable({}, {__mode = "k"})
Expand Down

0 comments on commit 75737c7

Please sign in to comment.