diff --git a/knockoutwhistweb/app/views/ingame.scala.html b/knockoutwhistweb/app/views/ingame.scala.html index 3f63dd6..379f219 100644 --- a/knockoutwhistweb/app/views/ingame.scala.html +++ b/knockoutwhistweb/app/views/ingame.scala.html @@ -14,7 +14,7 @@
First Card
- @if(logic.getCurrentTrick.get.firstCard != None) { + @if(logic.getCurrentTrick.get.firstCard.isDefined) { @util.WebUIUtils.cardtoImage(logic.getCurrentTrick.get.firstCard.get) } else { @views.html.output.card.apply("images/cards/1B.png")("Blank Card") @@ -23,7 +23,7 @@@logic.getCurrentPlayer.get has to play a card!
- @if(!logic.getCurrentTrick.get.cards.isEmpty) { + @if(logic.getCurrentTrick.get.cards.nonEmpty) {Cards played
} else {Cards played