mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-20 15:35:13 +00:00
autosave fix
This commit is contained in:
parent
2b51038be1
commit
649fa99999
|
@ -34,7 +34,6 @@ class Note extends FlxSprite
|
||||||
|
|
||||||
public var invisNote:Bool = false;
|
public var invisNote:Bool = false;
|
||||||
|
|
||||||
public var sustainLength:Float = 0;
|
|
||||||
public var isSustainNote:Bool = false;
|
public var isSustainNote:Bool = false;
|
||||||
|
|
||||||
public var colorSwap:ColorSwap;
|
public var colorSwap:ColorSwap;
|
||||||
|
|
|
@ -1261,7 +1261,7 @@ class ChartingState extends MusicBeatState
|
||||||
// trace('bullshit $bullshit'); // trace(Math.floor(dummyArrow.y / GRID_SIZE) * GRID_SIZE);
|
// trace('bullshit $bullshit'); // trace(Math.floor(dummyArrow.y / GRID_SIZE) * GRID_SIZE);
|
||||||
|
|
||||||
var daNewNote:Note = new Note(noteStrum, noteData);
|
var daNewNote:Note = new Note(noteStrum, noteData);
|
||||||
daNewNote.sustainLength = noteSus;
|
daNewNote.data.sustainLength = noteSus;
|
||||||
daNewNote.data.altNote = noteAlt;
|
daNewNote.data.altNote = noteAlt;
|
||||||
SongLoad.getSong()[curSection].sectionNotes.push(daNewNote.data);
|
SongLoad.getSong()[curSection].sectionNotes.push(daNewNote.data);
|
||||||
|
|
||||||
|
@ -1341,7 +1341,7 @@ class ChartingState extends MusicBeatState
|
||||||
|
|
||||||
function loadAutosave():Void
|
function loadAutosave():Void
|
||||||
{
|
{
|
||||||
PlayState.SONG = SongLoad.parseJSONshit(FlxG.save.data.autosave);
|
PlayState.SONG = FlxG.save.data.autosave;
|
||||||
FlxG.resetState();
|
FlxG.resetState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue