more error fix?
This commit is contained in:
parent
3d42de7b18
commit
3ed3e311f7
|
@ -57,9 +57,10 @@ func LobbyListen() {
|
||||||
go func() {
|
go func() {
|
||||||
client, msgOut, err := l.InitialConnectionHandler(conn)
|
client, msgOut, err := l.InitialConnectionHandler(conn)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
fmt.Println("what?")
|
||||||
conn.Write(msgOut)
|
conn.Write(msgOut)
|
||||||
} else {
|
} else {
|
||||||
fmt.Println("new client", client)
|
fmt.Println("new client", client, err)
|
||||||
_, err = conn.Write(msgOut)
|
_, err = conn.Write(msgOut)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
slog.Debug("error writing to new player... disconnecting")
|
slog.Debug("error writing to new player... disconnecting")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user