Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowMario committed Oct 17, 2022
1 parent b0a2d44 commit f38cdd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions source/GameplayChangersSubstate.hx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ class GameplayChangersSubstate extends MusicBeatSubstate
optionsArray.push(goption);

var option:GameplayOption = new GameplayOption('Scroll Speed', 'scrollspeed', 'float', 1);
option.scrollSpeed = 1.5;
option.minValue = 0.5;
option.changeValue = 0.1;
option.scrollSpeed = 2.0;
option.minValue = 0.35;
option.changeValue = 0.05;
option.decimals = 2;
if (goption.getValue() != "constant")
{
option.displayFormat = '%vX';
Expand Down
2 changes: 1 addition & 1 deletion source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3789,7 +3789,7 @@ class PlayState extends MusicBeatState
}
else
{
songSpeedTween = FlxTween.tween(this, {songSpeed: newValue}, val2, {ease: FlxEase.linear, onComplete:
songSpeedTween = FlxTween.tween(this, {songSpeed: newValue}, val2 / playbackRate, {ease: FlxEase.linear, onComplete:
function (twn:FlxTween)
{
songSpeedTween = null;
Expand Down

0 comments on commit f38cdd2

Please sign in to comment.