aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-14 11:24:50 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-14 11:24:50 +0000
commitc0f884274705ac9ee1cb56a876198d4fb334d7ca (patch)
tree14bc9632be4ed8a54730d3324579b206e92a0abe
parentca12fbb41e2886ee23e95617f434742bb8be2dd1 (diff)
downloadusdx-c0f884274705ac9ee1cb56a876198d4fb334d7ca.tar.gz
usdx-c0f884274705ac9ee1cb56a876198d4fb334d7ca.tar.xz
usdx-c0f884274705ac9ee1cb56a876198d4fb334d7ca.zip
fixed setting playercount for teamduel plugin
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2236 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--game/plugins/teamduel.usdx5
1 files changed, 4 insertions, 1 deletions
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);