aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'Lua/src/base')
-rw-r--r--Lua/src/base/UParty.pas7
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;