mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-02-16 20:01:49 -05:00
autosave fix
This commit is contained in:
parent
2b51038be1
commit
649fa99999
2 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue