From 472eed63156687d0577188ceaf94eea378d03b2f Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Sun, 2 Jun 2013 15:00:27 +0200 Subject: [PATCH] fix game join creator redirect --- app/controllers/Setup.scala | 2 +- todo | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/controllers/Setup.scala b/app/controllers/Setup.scala index aabd0328c9..43270f9a9e 100644 --- a/app/controllers/Setup.scala +++ b/app/controllers/Setup.scala @@ -64,7 +64,7 @@ object Setup extends LilaController with TheftPrevention { Redirect(routes.Round.watcher(id, game.creatorColor.name)), _ map { case (p, events) ⇒ { - Env.round.roundMap ! lila.hub.actorApi.map.Tell(p.gameId, events) + Env.round.roundMap ! lila.hub.actorApi.map.Tell(p.gameId, lila.round.actorApi.round.Send(events)) Redirect(routes.Round.player(p.fullId)) } }) diff --git a/todo b/todo index cb226e47d3..54ef9af062 100644 --- a/todo +++ b/todo @@ -65,11 +65,9 @@ if game ends during move -> bug LilaError['[analysis] fred65 already analyses ueogn4fr, won't process ueogn4fr'] unload event http://en.lichess.org/forum/redirect/post/lnsqfhli -> only rated games -link to best opponents friend box hide on click http://en.lichess.org/forum/lichess-feedback/new-lichess-1#3 can't delete messages http://www.youtube.com/watch?v=vPNS49ygvCI&feature=youtu.be preview board should never touch undertables -test that count.* increment works ---