summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5396851)
If someone joins after a challengeable W+4, he would be inserted between
the last and first player, and if there is a challenge _his_ cards would
be exposed. So prevent joining in such a situation.
+ if @last_discard
+ announce _("you can't join now, %{p}, a %{card} was just played, wait until next turn") % {
+ :card => @discard,
+ :p => user
+ }
+ return
+ end
cards = 7
if @start_time
cards = (@players.inject(0) do |s, pl|
cards = 7
if @start_time
cards = (@players.inject(0) do |s, pl|