Skip to content

Commit

Permalink
Don't load current steps' notedata in chart preview init
Browse files Browse the repository at this point in the history
not really worth it because of til death behavior that immediately changes the current steps to something and pops the other call, wasting all of our time spent loading in the first place (and this steps is null half the time anyways)
  • Loading branch information
poco0317 committed Jan 28, 2021
1 parent 45d3b18 commit 4f5e614
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Themes/Til Death/BGAnimations/_chartpreview.lua
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,6 @@ local t = Def.ActorFrame {
DrawDistanceAfterTargetsPixels = 0,
YReverseOffsetPixels = 100,

InitCommand = function(self)
local s = GAMESTATE:GetCurrentSteps()
if s ~= nil then
self:LoadNoteData(s)
end
end,
BeginCommand = function(self)
self:zoom(prevZoom):draworder(90)
self:x(wodth/2)
Expand Down

0 comments on commit 4f5e614

Please sign in to comment.