drop temp fail

main
Bel LaPointe 2024-12-15 12:27:17 -07:00
parent c760dac44b
commit 1e4198b291
2 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"fmt"
"io"
"log"
"time"
)
@ -130,5 +129,5 @@ func (ugs *UserGameServer) State(ctx context.Context) (UserGameState, error) {
gameState.Players[k] = v
}
return UserGameState(gameState), io.EOF
return UserGameState(gameState), nil
}

View File

@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"fmt"
"io"
"net/http"
"slices"
"strconv"
@ -149,7 +148,7 @@ func (ws WS) inProgressMsg(ctx context.Context, ugs *UserGameServer, gameState U
}
msg["items"] = items
return nil, io.EOF
return msg, nil
}
type inProgressMsgItem struct {