Move netstream to lua/autorun (#358)

This commit is contained in:
thegrb93 2021-02-12 20:29:42 -05:00 committed by GitHub
parent a928fd3206
commit e5040d0866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,6 @@ end
include "advdupe2/file_browser.lua"
include "advdupe2/sh_codec.lua"
include "advdupe2/sh_netstream.lua"
include "advdupe2/cl_file.lua"
include "advdupe2/cl_ghost.lua"

View File

@ -1,4 +1,7 @@
--A net extension which allows sending large streams of data without overflowing the reliable channel
--Keep it in lua/autorun so it will be shared between addons
AddCSLuaFile()
net.Stream = {}
net.Stream.ReadStreamQueues = {} --This holds a read stream for each player, or one read stream for the server if running on the CLIENT
net.Stream.WriteStreams = {} --This holds the write streams

View File

@ -7,7 +7,6 @@ AdvDupe2.DataFolder = "advdupe2" --name of the folder in data where dupes will b
include "advdupe2/sv_clipboard.lua"
include "advdupe2/sh_codec.lua"
include "advdupe2/sh_netstream.lua"
include "advdupe2/sv_misc.lua"
include "advdupe2/sv_file.lua"
include "advdupe2/sv_ghost.lua"
@ -15,7 +14,6 @@ include "advdupe2/sv_ghost.lua"
AddCSLuaFile "autorun/client/advdupe2_cl_init.lua"
AddCSLuaFile "advdupe2/file_browser.lua"
AddCSLuaFile "advdupe2/sh_codec.lua"
AddCSLuaFile "advdupe2/sh_netstream.lua"
AddCSLuaFile "advdupe2/cl_file.lua"
AddCSLuaFile "advdupe2/cl_ghost.lua"