Skip to content

Commit

Permalink
only borp when you most must
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 25, 2018
1 parent a64ee8b commit f88caa2
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ local prevX = capWideScale(get43size(98), 98)
local usingreverse = GAMESTATE:GetPlayerState(PLAYER_1):GetCurrentPlayerOptions():UsingReverse()
local prevY = 55
local prevrevY = 208
local boolthatgetssettotrueonsongchangebutonlyifonatabthatisntthisone = false

local update = false
local t =
Expand All @@ -22,6 +23,11 @@ local t =
OnCommand = function(self)
self:bouncebegin(0.2):xy(0, 0):diffusealpha(1)
end,
CurrentSongChanged = function()
if getTabIndex() ~= 0 then
boolthatgetssettotrueonsongchangebutonlyifonatabthatisntthisone = true
end
end,
MintyFreshCommand = function(self)
self:finishtweening()
local bong = GAMESTATE:GetCurrentSong()
Expand All @@ -40,7 +46,9 @@ local t =
mcbootlarder:visible(true)
mcbootlarder:GetChild("NoteField"):visible(true)
MESSAGEMAN:Broadcast("ChartPreviewOn")
song:Borp()
if boolthatgetssettotrueonsongchangebutonlyifonatabthatisntthisone then
song:Borp()
end
heyiwasusingthat = false
end
self:queuecommand("On")
Expand Down

0 comments on commit f88caa2

Please sign in to comment.