From 7e2407aebaf391bea30a6f1cbd44ed5ac7bedd36 Mon Sep 17 00:00:00 2001 From: Cameron Ball Date: Mon, 9 Dec 2013 16:12:45 +0800 Subject: [PATCH] New functions for #9 also cleaned up the existings ones. --- .../BGAnimations/ScreenEvaluation overlay.xml | 2 +- .../ScreenPlayerOptions overlay/default.xml | 8 +- Themes/GrooveNights/Scripts/Other.lua | 120 +++++++-------------- 3 files changed, 44 insertions(+), 86 deletions(-) diff --git a/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml b/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml index 65965a7..6bd1918 100644 --- a/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml +++ b/Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml @@ -262,7 +262,7 @@ end"> if GAMESTATE:IsPlayerEnabled(PLAYER_2) then pn = PLAYER_2 end - local bpm = DisplayBPM(pn, true, false) + local bpm = DisplayBPM(pn) if GetRateMod() ~= '1.0x' then gnSongLengthDisplay = string.gsub(gnSongLength,'Patched','Length Patched'); diff --git a/Themes/GrooveNights/BGAnimations/ScreenPlayerOptions overlay/default.xml b/Themes/GrooveNights/BGAnimations/ScreenPlayerOptions overlay/default.xml index ffeb98e..078071a 100644 --- a/Themes/GrooveNights/BGAnimations/ScreenPlayerOptions overlay/default.xml +++ b/Themes/GrooveNights/BGAnimations/ScreenPlayerOptions overlay/default.xml @@ -478,7 +478,7 @@ InitCommand="%function(self) self:stoptweening(); self:zoom(0.5); self:shadowlength(0); self:x(SCREEN_CENTER_X-200); self:y(SCREEN_CENTER_Y+118); self:maxwidth(140); end" SpeedModChangedMessageCommand="queuecommand,Update" RateModChangedMessageCommand="queuecommand,Update" - UpdateCommand="%function(self) self:settext(DisplayBPM(PLAYER_1, true, false)) end" + UpdateCommand="%function(self) self:settext(DisplayBPM(PLAYER_1)) end" OnCommand="horizalign,left;zoom,0.5;" />