aboutsummaryrefslogtreecommitdiffstats
path: root/Lua
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-14 21:07:20 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-14 21:07:20 +0000
commit60882610da3019d070fba848ff82de39a4ac9e0d (patch)
treed3a4aba30ebf45de1135a00c47e04ad7feac9995 /Lua
parentec8214fa50a02d71c74de970c6646b66b3adc095 (diff)
downloadusdx-60882610da3019d070fba848ff82de39a4ac9e0d.tar.gz
usdx-60882610da3019d070fba848ff82de39a4ac9e0d.tar.xz
usdx-60882610da3019d070fba848ff82de39a4ac9e0d.zip
fix one player was not added to party teams
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2037 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Lua')
-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;