Skip to content
Permalink
Browse files

Fix logs getting stuck reading

  • Loading branch information...
Manuel-777 committed Feb 12, 2019
1 parent 3f2b040 commit ba1803abaf67876bdbaeb9ce7d82401eebd272d6
Showing with 2 additions and 0 deletions.
  1. +2 −0 window_background/background.js
@@ -1272,6 +1272,8 @@ function checkForStartingLibrary() {
let library = zones["ZoneType_Library" + playerSeat].objectInstanceIds || [];
// Check that a post-mulligan scry hasn't been done
if (library.length == 0 || library[library.length-1] < library[0]) return;

if (!originalDeck.mainDeck) return
if (hand.length + library.length == deck_count(originalDeck)) {
if (hand.length >= 2 && hand[0] == hand[1] + 1) hand.reverse();
initialLibraryInstanceIds = [...hand, ...library];

0 comments on commit ba1803a

Please sign in to comment.
You can’t perform that action at this time.