Skip to content

Commit 8e5d7c6

Browse files
committed
Stop match on LastWormStanding.
1 parent d8a412e commit 8e5d7c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arena.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ function tick(){
576576
});
577577
}
578578
_worms_lastLength = _worms.length;
579-
if(0 < _worms.length){
579+
if((_settings.rules.winner === 'LastWormStanding' ? 1 : 0) < _worms.length){
580580
tick();
581581
}else{
582582
ArenaHelper.log('tick', parseArena());

0 commit comments

Comments
 (0)