File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -370,16 +370,17 @@ class GameplayChangersSubstate extends MusicBeatSubstate
370
370
curOption .change ();
371
371
FlxG .sound .play (Paths .sound (' scrollMenu' ));
372
372
} else if (curOption .type != ' string' ) {
373
- holdValue = Math .max (curOption .minValue , Math .min (curOption .maxValue , holdValue + curOption .scrollSpeed * elapsed * (controls. UI_LEFT ? - 1 : 1 )));
374
-
373
+ holdValue + = curOption .scrollSpeed * elapsed * (controls. UI_LEFT ? - 1 : 1 );
374
+ if (holdValue < curOption .minValue ) holdValue = curOption .minValue ;
375
+ if (holdValue > curOption .maxValue ) holdValue = curOption .maxValue ;
376
+
375
377
switch (curOption .type )
376
378
{
377
379
case ' int' :
378
380
curOption .setValue (Math .round (holdValue ));
379
381
380
382
case ' float' | ' percent' :
381
- var blah : Float = Math .max (curOption .minValue , Math .min (curOption .maxValue , holdValue + curOption .changeValue - (holdValue % curOption .changeValue )));
382
- curOption .setValue (FlxMath .roundDecimal (blah , curOption .decimals ));
383
+ curOption .setValue (FlxMath .roundDecimal (holdValue , curOption .decimals ));
383
384
}
384
385
updateTextFrom (curOption );
385
386
curOption .change ();
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ using StringTools;
26
26
27
27
class MainMenuState extends MusicBeatState
28
28
{
29
- public static var psychEngineJSVersion : String = ' 1.28 .0' ; // This is also used for Discord RPC
29
+ public static var psychEngineJSVersion : String = ' 1.29 .0' ; // This is also used for Discord RPC
30
30
public static var psychEngineVersion : String = ' 0.6.3' ; // This is also used for Discord RPC
31
31
public static var curSelected : Int = 0 ;
32
32
@@ -293,7 +293,7 @@ class MainMenuState extends MusicBeatState
293
293
{
294
294
if (optionShit [curSelected ] == ' donate' )
295
295
{
296
- CoolUtil .browserLoad (' https://ninja-muffin24.itch.io/funkin ' );
296
+ CoolUtil .browserLoad (' https://github.com/JordanSantiagoYT/FNF-PsychEngine-NoBotplayLag ' );
297
297
}
298
298
else
299
299
{
You can’t perform that action at this time.
0 commit comments