aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src/base
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-16 13:22:03 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-16 13:22:03 +0000
commitb2d499107c616ed7a5c68cee205a8cdde7f16149 (patch)
treee3ee5296a9d1cc9c63c6eedf97f37eff541e4e28 /Lua/src/base
parent1b16d798f4d03b0ce4d5dfc13d29d0e3fc92ce05 (diff)
downloadusdx-b2d499107c616ed7a5c68cee205a8cdde7f16149.tar.gz
usdx-b2d499107c616ed7a5c68cee205a8cdde7f16149.tar.xz
usdx-b2d499107c616ed7a5c68cee205a8cdde7f16149.zip
some fixes in party manager
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1736 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Lua/src/base')
-rw-r--r--Lua/src/base/UParty.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lua/src/base/UParty.pas b/Lua/src/base/UParty.pas
index 1566e4e8..d7392d4b 100644
--- a/Lua/src/base/UParty.pas
+++ b/Lua/src/base/UParty.pas
@@ -444,6 +444,7 @@ begin
end
else
begin
+ Result := False;
for I := 0 to High(Modes) do
if (Modes[I].TeamCount and (1 shl (CountTeams - 1)) <> 0) then
begin
@@ -542,6 +543,7 @@ begin
if (bPartyStarted) and (CurRound >= 0) and (CurRound <= High(Rounds)) then
begin
Rounds[CurRound].Winner := WinBin;
+ Result := true;
end
else
Result := false;