From e0ed92135741a8991f75078b9a91cfac4305b46d Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Mon, 6 Aug 2012 00:12:23 -0400 Subject: [PATCH] silence Lua warning about nonexistent global `Scoring' probably overlooked in commit bffa610 --- .../ScreenGameplay decorations/default.lua | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 Themes/_fallback/BGAnimations/ScreenGameplay decorations/default.lua diff --git a/Themes/_fallback/BGAnimations/ScreenGameplay decorations/default.lua b/Themes/_fallback/BGAnimations/ScreenGameplay decorations/default.lua deleted file mode 100644 index 33baabebf0..0000000000 --- a/Themes/_fallback/BGAnimations/ScreenGameplay decorations/default.lua +++ /dev/null @@ -1,16 +0,0 @@ -local t = Def.ActorFrame {}; - -if( not GAMESTATE:IsCourseMode() ) then -t[#t+1] = Def.Actor{ - JudgmentMessageCommand = function(self, params) - if params.TapNoteScore and - params.TapNoteScore ~= 'TapNoteScore_Invalid' and - params.TapNoteScore ~= 'TapNoteScore_None' - then - Scoring[GetUserPref("UserPrefScoringMode")](params, - STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player)) - end - end; -}; -end; -return t; \ No newline at end of file