Skip to content

Commit

Permalink
Subscriptions updated with network API
Browse files Browse the repository at this point in the history
  • Loading branch information
Mullets-Gavin committed Jan 7, 2021
1 parent e35641b commit e26aa6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DataSync/Subscribe.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function Subscribe.FireSubscription(key: any, index: any, value: any, data: any)
table.insert(catch, value)
caught[client] = catch

Network:FireClient(Subscribe._Remotes.Download, client, key, index, value, data)
Network.FireClient(Subscribe._Remotes.Download, client, key, index, value, data)
end
end

Expand Down Expand Up @@ -100,7 +100,7 @@ function Subscribe.ConnectSubscription(info: Instance | any, key: any, index: an
Subscribe._Cache[key] = store

if Manager.IsClient then
Network:FireServer(Subscribe._Remotes.Subscribe, key, index, values, guid)
Network.FireServer(Subscribe._Remotes.Subscribe, key, index, values, guid)
end

return guid
Expand Down

0 comments on commit e26aa6e

Please sign in to comment.