From 7d3973f4765d253ef8d808d5eedcc5d1e8f2959b Mon Sep 17 00:00:00 2001 From: Alberto Ramos Date: Sun, 28 Aug 2011 17:57:11 -0600 Subject: [PATCH] woops --- NoteSkins/pump/default/UpLeft Receptor.lua | 2 +- Themes/_fallback/Scripts/04 Scoring.lua | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NoteSkins/pump/default/UpLeft Receptor.lua b/NoteSkins/pump/default/UpLeft Receptor.lua index 86a2238fa1..77678a0a24 100644 --- a/NoteSkins/pump/default/UpLeft Receptor.lua +++ b/NoteSkins/pump/default/UpLeft Receptor.lua @@ -1,7 +1,7 @@ local function Beat(self) -- too many locals local this = self:GetChildren() - local player = GAMESTATE:GetMasterPlayerNumber() + local player = Var "Player" or GAMESTATE:GetMasterPlayerNumber() local playerstate = GAMESTATE:GetPlayerState( player ) local songposition = playerstate:GetSongPosition() -- GAMESTATE:GetSongPosition() diff --git a/Themes/_fallback/Scripts/04 Scoring.lua b/Themes/_fallback/Scripts/04 Scoring.lua index 38e928da60..6650cc3a75 100644 --- a/Themes/_fallback/Scripts/04 Scoring.lua +++ b/Themes/_fallback/Scripts/04 Scoring.lua @@ -323,4 +323,6 @@ setmetatable(Scoring, { __index = function(...) return function(params,pss) --put any code here that should run before every scoring function if not GAMESTATE:IsHumanPlayer(params.Player) and type(r[key]) == "function" then return r[key](...) end -end } + end +end } ) +