diff --git a/components/room.html b/components/room.html index 92e13bd..207e242 100644 --- a/components/room.html +++ b/components/room.html @@ -25,7 +25,7 @@
{{if .Room.IsRunning}}

Turn of the {{.Room.TeamTurn}} team

-{{template "turntimer" .Room.Settings}} +{{template "turntimer" .Room}} {{if .Room.MimeDone}}

Waiting for guessers

Given Clue: "{{.Room.FetchLastClueWord}}"

diff --git a/handlers/actions.go b/handlers/actions.go index 26fae08..80a02cb 100644 --- a/handlers/actions.go +++ b/handlers/actions.go @@ -81,6 +81,9 @@ func saveFullInfo(ctx context.Context, fi *models.FullInfo) error { return err } log.Debug("saved user state", "state", fi.State) + // save or update + // fi.Room.Cards + // fi.Room.WCMap if err := repo.RoomUpdate(ctx, fi.Room); err != nil { return err }