nexServerStart->startNEXServer

This commit is contained in:
Jonathan Barrow 2022-09-10 09:41:00 -04:00
parent fab5c19aef
commit 5de811eefc
No known key found for this signature in database
GPG Key ID: E86E9FE9049C741F
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ func main() {
wg.Add(2)
go startGRPCServer()
go nexServerStart()
go startNEXServer()
wg.Wait()
}

View File

@ -10,7 +10,7 @@ import (
nex "github.com/PretendoNetwork/nex-go"
)
func nexServerStart() {
func startNEXServer() {
globals.NEXServer = nex.NewServer()
globals.NEXServer.SetFragmentSize(900)
globals.NEXServer.SetPrudpVersion(0)