woops
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
@@ -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 } )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user