Correct accidental use of global vars
This commit is contained in:
@@ -185,7 +185,7 @@ t[#t+1] = Def.ActorFrame {
|
||||
PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;decelerate,0.3;diffusealpha,1);
|
||||
ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set");
|
||||
SetCommand=function(self)
|
||||
stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
|
||||
local stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
|
||||
local song = GAMESTATE:GetCurrentSong();
|
||||
if song then
|
||||
if stepsP1 ~= nil then
|
||||
@@ -210,7 +210,7 @@ t[#t+1] = Def.ActorFrame {
|
||||
PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;linear,0.3;diffusealpha,0.75);
|
||||
ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set");
|
||||
SetCommand=function(self)
|
||||
stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
|
||||
local stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
|
||||
local song = GAMESTATE:GetCurrentSong();
|
||||
if song then
|
||||
if stepsP1 ~= nil then
|
||||
@@ -235,7 +235,7 @@ t[#t+1] = Def.ActorFrame {
|
||||
PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;linear,0.3;diffusealpha,0.75);
|
||||
ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set");
|
||||
SetCommand=function(self)
|
||||
stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
|
||||
local stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
|
||||
local song = GAMESTATE:GetCurrentSong();
|
||||
if song then
|
||||
if stepsP1 ~= nil then
|
||||
@@ -260,7 +260,7 @@ t[#t+1] = Def.ActorFrame {
|
||||
PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;linear,0.3;diffusealpha,0.75);
|
||||
ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set");
|
||||
SetCommand=function(self)
|
||||
stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
|
||||
local stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
|
||||
local song = GAMESTATE:GetCurrentSong();
|
||||
if song then
|
||||
if stepsP1 ~= nil then
|
||||
|
||||
Reference in New Issue
Block a user