From 6f2349caf161284ff7463dc06c490c6dfe969314 Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Sat, 23 May 2009 15:09:59 +0000 Subject: 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 --- Lua/game/plugins/5000points.usdx | 1 + 1 file changed, 1 insertion(+) (limited to 'Lua/game') 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 -- cgit v1.2.3