Skip to content

Commit

Permalink
enforce 180ms boo window so idiots stop whining about it
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 7, 2017
1 parent 3e0994a commit 1864e48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Themes/Til Death/BGAnimations/offsetplot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ local customWindow
local plotWidth, plotHeight = 400,120
local plotX, plotY = SCREEN_WIDTH - 9 - plotWidth/2, SCREEN_HEIGHT - 56 - plotHeight/2
local dotDims, plotMargin = 2, 4
local maxOffset = 180*tso
local maxOffset = math.max(180, 180*tso)

local pss = STATSMAN:GetCurStageStats():GetPlayerStageStats(PLAYER_1)
local dvt = pss:GetOffsetVector()
Expand Down
2 changes: 1 addition & 1 deletion src/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ void Player::Step( int col, int row, const std::chrono::steady_clock::time_point
else if( fSecondsFromExact <= GetWindowSeconds(TW_W2) ) score = TNS_W2;
else if( fSecondsFromExact <= GetWindowSeconds(TW_W3) ) score = TNS_W3;
else if( fSecondsFromExact <= GetWindowSeconds(TW_W4) ) score = TNS_W4;
else if( fSecondsFromExact <= GetWindowSeconds(TW_W5) ) score = TNS_W5;
else if( fSecondsFromExact <= max(GetWindowSeconds(TW_W5), 0.18f) ) score = TNS_W5;
}
break;
}
Expand Down

0 comments on commit 1864e48

Please sign in to comment.