account for change to soldier display
This commit is contained in:
parent
f561b5f2cb
commit
a41b7028c4
1 changed files with 2 additions and 2 deletions
|
@ -199,9 +199,9 @@ function internalRaidRefreshing() {
|
|||
}
|
||||
|
||||
function haveSoldiers() {
|
||||
if(convertToNumber($('tr[name="knight"] > .owned').text()) == 0) {
|
||||
if(convertToNumber($('tr[name="knight"]').find('span[name="owned"]').text()) == 0) {
|
||||
return false;
|
||||
} else if(convertToNumber($('tr[name="advknight"] > .owned').text()) == 0) {
|
||||
} else if(convertToNumber($('tr[name="advknight"]').find('span[name="owned"]').text()) == 0) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue