1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-07-15 14:45:56 +00:00

autosave fix

This commit is contained in:
Cameron Taylor 2022-01-22 17:06:40 -05:00
parent 2b51038be1
commit 649fa99999
2 changed files with 2 additions and 3 deletions

View file

@ -34,7 +34,6 @@ class Note extends FlxSprite
public var invisNote:Bool = false;
public var sustainLength:Float = 0;
public var isSustainNote:Bool = false;
public var colorSwap:ColorSwap;

View file

@ -1261,7 +1261,7 @@ class ChartingState extends MusicBeatState
// trace('bullshit $bullshit'); // trace(Math.floor(dummyArrow.y / GRID_SIZE) * GRID_SIZE);
var daNewNote:Note = new Note(noteStrum, noteData);
daNewNote.sustainLength = noteSus;
daNewNote.data.sustainLength = noteSus;
daNewNote.data.altNote = noteAlt;
SongLoad.getSong()[curSection].sectionNotes.push(daNewNote.data);
@ -1341,7 +1341,7 @@ class ChartingState extends MusicBeatState
function loadAutosave():Void
{
PlayState.SONG = SongLoad.parseJSONshit(FlxG.save.data.autosave);
PlayState.SONG = FlxG.save.data.autosave;
FlxG.resetState();
}