This commit is contained in:
Alberto Ramos
2011-08-28 17:57:11 -06:00
parent 6bcb24b7a6
commit 7d3973f476
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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()
+3 -1
View File
@@ -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 } )