From c0f884274705ac9ee1cb56a876198d4fb334d7ca Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Wed, 14 Apr 2010 11:24:50 +0000 Subject: fixed setting playercount for teamduel plugin git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2236 b956fd51-792f-4845-bead-9b4dfca2ff2c --- game/plugins/teamduel.usdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'game/plugins') diff --git a/game/plugins/teamduel.usdx b/game/plugins/teamduel.usdx index a32d963d..3585c166 100644 --- a/game/plugins/teamduel.usdx +++ b/game/plugins/teamduel.usdx @@ -32,6 +32,9 @@ end -- we just hook ScreenSing.SongLoaded to prepare the mic changes here function BeforeSing() hSongLoaded = Usdx.Hook('ScreenSing.SongLoaded', 'PrepareChanges'); + + -- execute default action (e.g. set correct singing playercount) + return true end; -- adds a new SentenceChange at Line to the PlayerChanges array @@ -130,7 +133,7 @@ function DrawPlayerText(i, Text) Gl.Vertex(OSD[i].Right, OSD[i].Bottom); Gl.Vertex(OSD[i].Right, OSD[i].Top); Gl.End(); - + -- text Gl.Color(1, 0, 0, 1); TextGl.Size(18); -- cgit v1.2.3