Skip to content

Commit

Permalink
Double count transfer in tug of war for CV
Browse files Browse the repository at this point in the history
  • Loading branch information
ForbodingAngel committed May 26, 2016
1 parent 75d38f8 commit ea4bb60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LuaRules/Gadgets/game_controlVictory.lua
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ if (gadgetHandler:IsSyncedCode()) then
for owner, count in pairs(owned) do
for _, a in ipairs(Spring.GetAllyTeamList()) do
if a ~= owner and score[a] > 0 then
score[a] = score[a] - count
score[owner] = score[owner] + count
score[a] = score[a] - count * 2
score[owner] = score[owner] + count * 2
end
end
end
Expand Down

0 comments on commit ea4bb60

Please sign in to comment.