mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
type
This commit is contained in:
parent
5fc0393bc7
commit
763594e579
1 changed files with 4 additions and 2 deletions
|
@ -64,11 +64,13 @@ public class TxtDeckImporter extends DeckImporter {
|
||||||
} else if (commentString.startsWith("//main")) {
|
} else if (commentString.startsWith("//main")) {
|
||||||
sideboard = false;
|
sideboard = false;
|
||||||
|
|
||||||
// if there are commands then disable empty line switcher (see deckstats.net format)
|
// if there are commands mode (see deckstats.net format) then disable empty line switcher
|
||||||
if (nonEmptyLinesTotal > 0){
|
if (nonEmptyLinesTotal == 0){
|
||||||
switchSideboardByEmptyLine = false;
|
switchSideboardByEmptyLine = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// skip comment line
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue