snap fixes
This commit is contained in:
parent
f19c338e4c
commit
1425e57831
@ -1557,6 +1557,9 @@ class ChartingState extends MusicBeatState
|
||||
|
||||
var data = TimingStruct.getTimingAtBeat(beats);
|
||||
|
||||
if (beats <= 0)
|
||||
FlxG.sound.music.time = 0;
|
||||
|
||||
var bpm = data != null ? data.bpm : _song.bpm;
|
||||
|
||||
if (data != null)
|
||||
@ -1852,7 +1855,7 @@ class ChartingState extends MusicBeatState
|
||||
|
||||
dummyArrow.x = Math.floor(FlxG.mouse.x / GRID_SIZE) * GRID_SIZE;
|
||||
|
||||
dummyArrow.y = (Math.floor(FlxG.mouse.y / deezNuts.get(snap)) * deezNuts.get(snap));
|
||||
dummyArrow.y = (Math.floor(FlxG.mouse.y / (GRID_SIZE / deezNuts.get(snap))) * (GRID_SIZE / deezNuts.get(snap)));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user