"pump/default: move player variable to outside of function to work for split timing"
sourced from hanubeki: http://code.google.com/r/hanubeki-modified-sm-ssc/source/detail?r=ca5903590a0decbaca4c17194cf2efe025d3ce4a
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
|
local player = Var "Player" or GAMESTATE:GetMasterPlayerNumber()
|
||||||
|
|
||||||
local function Beat(self)
|
local function Beat(self)
|
||||||
-- too many locals
|
-- too many locals
|
||||||
local this = self:GetChildren()
|
local this = self:GetChildren()
|
||||||
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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user