diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-23 15:09:59 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-23 15:09:59 +0000 |
commit | 6f2349caf161284ff7463dc06c490c6dfe969314 (patch) | |
tree | af212704ea496671e790e6f9e577b58e71f1600c /Lua | |
parent | 2c6031e127f83e22c9a82511d0b75fb054d1a68c (diff) | |
download | usdx-6f2349caf161284ff7463dc06c490c6dfe969314.tar.gz usdx-6f2349caf161284ff7463dc06c490c6dfe969314.tar.xz usdx-6f2349caf161284ff7463dc06c490c6dfe969314.zip |
fix an error message when singscreen is left in party mode before a frame was drawn
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1776 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Lua')
-rw-r--r-- | Lua/game/plugins/5000points.usdx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lua/game/plugins/5000points.usdx b/Lua/game/plugins/5000points.usdx index d4b8deb4..7ebd23b4 100644 --- a/Lua/game/plugins/5000points.usdx +++ b/Lua/game/plugins/5000points.usdx @@ -31,6 +31,7 @@ function Sing() end
function Calculate_Winner()
+ Scores = Scores or ScreenSing.GetScores();
local Ranking = {};
for i = 1, #Scores do
if Scores[i] >= 5000 then
|