From 60882610da3019d070fba848ff82de39a4ac9e0d Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Mon, 14 Dec 2009 21:07:20 +0000 Subject: 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 --- Lua/src/screens/UScreenPartyPlayer.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lua') 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; -- cgit v1.2.3