Changed default for foil rendering to a static image.

This commit is contained in:
marcin.sciesinski
2019-10-02 23:12:11 -07:00
parent 9d7e787ef9
commit 944a75cca5
2 changed files with 4 additions and 4 deletions

View File

@@ -401,7 +401,7 @@ var GempLotrGameUI = Class.extend({
$("#settingsBox").append("<input id='foilPresentation' type='checkbox' value='selected' /><label for='foilPresentation'>Use animated foiling</label><br />");
var foilPresentation = $.cookie("foilPresentation");
if (foilPresentation == "true" || foilPresentation == null) {
if (foilPresentation == "true") {
$("#foilPresentation").prop("checked", true);
this.settingsFoilPresentation = true;
}

View File

@@ -442,10 +442,10 @@ function createCardDiv(image, text, foil, tokens, noBorder, errata) {
function getFoilImg() {
var foilPresentation = $.cookie("foilPresentation");
if (foilPresentation == "true" || foilPresentation == null) {
return "foil.gif";
} else {
if (foilPresentation == "false" || foilPresentation == null) {
return "holo.jpg";
} else {
return "foil.gif";
}
}