Skip to content

Commit 885d984

Browse files
committed
refactor: use 0 for beginning score instead of score from server
1 parent f3c744e commit 885d984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rounds.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ function Rounds:PrepareBeginRound()
412412
local round_index = self.round_count / Config.total_rounds_count
413413
round_index = math.min(round_index, 1) -- make sure it is not greater than 1
414414
for _, team in pairs(data.teams) do
415-
self.scores_this_round[team.team_id] = team.score
415+
self.scores_this_round[team.team_id] = 0
416416
chooser_scripts[team.team_id] = from_base64(team.select)
417417
bot_scripts[team.team_id] = from_base64(team.act)
418418
local rank_index = (Config.candidate_count - team.rank) / (Config.candidate_count - 1)

0 commit comments

Comments
 (0)