diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-16 15:09:11 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-16 15:09:11 +0000 |
commit | d77dbf438cc212a09c49e1fe6c2295b1477928ac (patch) | |
tree | 05d6f71209cf0116358a7aefe2e927afe6bb55dc /Lua/src/base | |
parent | f64f21da0aa5838fafa6a5a4a16b0428c69d36a4 (diff) | |
download | usdx-d77dbf438cc212a09c49e1fe6c2295b1477928ac.tar.gz usdx-d77dbf438cc212a09c49e1fe6c2295b1477928ac.tar.xz usdx-d77dbf438cc212a09c49e1fe6c2295b1477928ac.zip |
Set correct player count in UParty
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1738 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Lua/src/base')
-rw-r--r-- | Lua/src/base/UParty.pas | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Lua/src/base/UParty.pas b/Lua/src/base/UParty.pas index 856f4f40..21f604f7 100644 --- a/Lua/src/base/UParty.pas +++ b/Lua/src/base/UParty.pas @@ -226,6 +226,7 @@ uses ULuaCore, UDisplay, USong, + UMain, SysUtils; //------------- @@ -668,7 +669,11 @@ begin these functions should be called here before sing screen is shown, or it should be called by plugin if it wants to define a custom - singscreen start up. } + singscreen start up. } + + //set correct playersplay + if (bPartyGame) then + PlayersPlay := Length(Teams); end; end; end; |