woops
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
local function Beat(self)
|
local function Beat(self)
|
||||||
-- too many locals
|
-- too many locals
|
||||||
local this = self:GetChildren()
|
local this = self:GetChildren()
|
||||||
local player = GAMESTATE:GetMasterPlayerNumber()
|
local player = Var "Player" or GAMESTATE:GetMasterPlayerNumber()
|
||||||
local playerstate = GAMESTATE:GetPlayerState( player )
|
local playerstate = GAMESTATE:GetPlayerState( player )
|
||||||
local songposition = playerstate:GetSongPosition() -- GAMESTATE:GetSongPosition()
|
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
|
--put any code here that should run before every scoring function
|
||||||
if not GAMESTATE:IsHumanPlayer(params.Player) and type(r[key]) == "function" then
|
if not GAMESTATE:IsHumanPlayer(params.Player) and type(r[key]) == "function" then
|
||||||
return r[key](...) end
|
return r[key](...) end
|
||||||
end }
|
end
|
||||||
|
end } )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user