Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug fix: ruined regions not being shown as ruined

  • Loading branch information...
commit f855d6d1313077d0e4fbdf398a0b268f0115db7d 1 parent 5be7845
@wallyaltman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gameboard.js
View
2  gameboard.js
@@ -1890,7 +1890,7 @@ function drawBoard(blank, local){
newRegion.ruination[j] = $(this).text();
});
//Set the region's ruination rank, if ruined
- $ruinTemp = $(this).find("ruined");
+ $ruinTemp = $(regionXML).find("ruined");
newRegion.ruined = $ruinTemp ? $ruinTemp.text() : 0;
//Set up the region's chaos cards
newRegion.cards = [];
Please sign in to comment.
Something went wrong with that request. Please try again.