From 40ff0206ced00eb2938bd63c95e6b93f79cd2f32 Mon Sep 17 00:00:00 2001 From: ListenerJubatus Date: Wed, 26 Sep 2018 21:49:18 -0600 Subject: [PATCH] Fix more typos --- .../BGAnimations/ScreenNetSelectMusic decorations.lua | 10 +++++----- .../default/Graphics/ScreenGameplay StageDisplay.lua | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Themes/default/BGAnimations/ScreenNetSelectMusic decorations.lua b/Themes/default/BGAnimations/ScreenNetSelectMusic decorations.lua index 215e78fa6c..a1e8f23a60 100644 --- a/Themes/default/BGAnimations/ScreenNetSelectMusic decorations.lua +++ b/Themes/default/BGAnimations/ScreenNetSelectMusic decorations.lua @@ -188,7 +188,7 @@ t[#t+1] = Def.ActorFrame { local stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1) local song = GAMESTATE:GetCurrentSong(); if song then - if stepsP1 ~= nil then + if local stepsP1 ~= nil then local st = stepsP1:GetStepsType(); local diff = stepsP1:GetDifficulty(); local courseType = GAMESTATE:IsCourseMode() and SongOrCourse:GetCourseType() or nil; @@ -295,7 +295,7 @@ t[#t+1] = Def.ActorFrame { PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;decelerate,0.3;diffusealpha,1); ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); SetCommand=function(self) - stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2) + local stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2) local song = GAMESTATE:GetCurrentSong(); if song then if stepsP2 ~= nil then @@ -320,7 +320,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) - stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2) + local stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2) local song = GAMESTATE:GetCurrentSong(); if song then if stepsP2 ~= nil then @@ -345,7 +345,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) - stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2) + local stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2) local song = GAMESTATE:GetCurrentSong(); if song then if stepsP2 ~= nil then @@ -370,7 +370,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) - stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2) + local stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2) local song = GAMESTATE:GetCurrentSong(); if song then if stepsP2 ~= nil then diff --git a/Themes/default/Graphics/ScreenGameplay StageDisplay.lua b/Themes/default/Graphics/ScreenGameplay StageDisplay.lua index 9f7ca71911..34445c5648 100644 --- a/Themes/default/Graphics/ScreenGameplay StageDisplay.lua +++ b/Themes/default/Graphics/ScreenGameplay StageDisplay.lua @@ -9,8 +9,8 @@ local t = Def.ActorFrame { CurrentCourseChangedMessageCommand=cmd(playcommand,"Set"); CurrentStepsP1ChangedMessageCommand=cmd(playcommand,"Set"); CurrentStepsP2ChangedMessageCommand=cmd(playcommand,"Set"); - CurrentTraiP1ChangedMessageCommand=cmd(playcommand,"Set"); - CurrentTraiP2ChangedMessageCommand=cmd(playcommand,"Set"); + CurrentTrailP1ChangedMessageCommand=cmd(playcommand,"Set"); + CurrentTrailPl2ChangedMessageCommand=cmd(playcommand,"Set"); SetCommand=function(self) local curStage = GAMESTATE:GetCurrentStage(); self:diffuse(ColorMidTone(StageToColor(curStage))) @@ -22,8 +22,8 @@ local t = Def.ActorFrame { CurrentCourseChangedMessageCommand=cmd(playcommand,"Set"); CurrentStepsP1ChangedMessageCommand=cmd(playcommand,"Set"); CurrentStepsP2ChangedMessageCommand=cmd(playcommand,"Set"); - CurrentTraiP1ChangedMessageCommand=cmd(playcommand,"Set"); - CurrentTraiP2ChangedMessageCommand=cmd(playcommand,"Set"); + CurrentTrailP1ChangedMessageCommand=cmd(playcommand,"Set"); + CurrentTrailP2ChangedMessageCommand=cmd(playcommand,"Set"); SetCommand=function(self) local curStage = GAMESTATE:GetCurrentStage(); if GAMESTATE:IsCourseMode() then