aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Lua/src/screens/UScreenPartyPlayer.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lua/src/screens/UScreenPartyPlayer.pas b/Lua/src/screens/UScreenPartyPlayer.pas
index 8a2a2371..2cdc0366 100644
--- a/Lua/src/screens/UScreenPartyPlayer.pas
+++ b/Lua/src/screens/UScreenPartyPlayer.pas
@@ -145,7 +145,7 @@ begin
begin
Party.AddTeam(Button[I * 5].Text[0].Text);
- for J := 0 to CountPlayer[I]-1 do
+ for J := 0 to CountPlayer[I] do
Party.AddPlayer(I, Button[I * 5 + 1 + J].Text[0].Text);
end;