Speed up updating transfer consumption

This commit is contained in:
marcin.sciesinski
2019-10-15 16:09:37 -07:00
parent 7301c2f1fb
commit 8d551bffe5
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@
},
"effect": {
"type": "putCardsFromDiscardOnBottomOfDrawDeck",
"filter": "all(name(nameFromMemory(playedUrukHai)))"
"filter": "all(nameFromMemory(playedUrukHai))"
}
}
},

View File

@@ -143,7 +143,7 @@ public class DbTransferDAO implements TransferDAO {
statement.close();
}
sql = "update transfer set notify=0 where player=?";
sql = "update transfer set notify=0 where player=? and notify=1";
statement = connection.prepareStatement(sql);
try {
statement.setString(1, player);