Skip to content
Snippets Groups Projects
Commit 2e0a360c authored by brickode's avatar brickode
Browse files

Fixed Pit fighter logic

parent 0fee2291
No related branches found
No related tags found
1 merge request!8333Pit bugfix, removed animals from deadliness()
...@@ -22,11 +22,10 @@ App.Facilities.Pit.fight = function(lethal) { ...@@ -22,11 +22,10 @@ App.Facilities.Pit.fight = function(lethal) {
fighters.push(S.Bodyguard.ID); fighters.push(S.Bodyguard.ID);
} else { } else {
fighters.push(available.pluck()); fighters.push(available.pluck());
fighters.push(available.pluck());
} }
// second fighter // second fighter
if (available.length > 1 && !V.pit.animal) { if (available.length > 0 && !V.pit.animal) {
fighters.push(available.pluck()); fighters.push(available.pluck());
} }
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment