Commit 92c37423 authored by nanahira's avatar nanahira

give -9 for quit players

parent b4b02010
......@@ -1395,6 +1395,8 @@ class Room
else
for player in @players when player.pos != 7
@scores[player.name_vpass] = -5
if @players.length == 2
@scores[client.name_vpass] = -9
@arena_score_handled = true
index = _.indexOf(@players, client)
@players.splice(index, 1) unless index == -1
......
......@@ -1816,6 +1816,9 @@
this.scores[player.name_vpass] = -5;
}
}
if (this.players.length === 2) {
this.scores[client.name_vpass] = -9;
}
}
this.arena_score_handled = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment