mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-28 02:25:51 -05:00
Update NoteStyle.hx
This commit is contained in:
parent
90c15fe542
commit
dbd9e5c7e0
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ class NoteStyle implements IRegistryEntry<NoteStyleData>
|
||||||
function get_fallback():Null<NoteStyle>
|
function get_fallback():Null<NoteStyle>
|
||||||
{
|
{
|
||||||
if (_data == null || _data.fallback == null) return null;
|
if (_data == null || _data.fallback == null) return null;
|
||||||
return registryInstance.fetchEntry(_data.fallback);
|
return NoteStyleRegistry.instance.fetchEntry(_data.fallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -879,7 +879,7 @@ class NoteStyle implements IRegistryEntry<NoteStyleData>
|
||||||
|
|
||||||
static function _fetchData(id:String):NoteStyleData
|
static function _fetchData(id:String):NoteStyleData
|
||||||
{
|
{
|
||||||
var result = registryInstance.parseEntryDataWithMigration(id, registryInstance.fetchEntryVersion(id));
|
var result = NoteStyleRegistry.instance.parseEntryDataWithMigration(id, NoteStyleRegistry.instance.fetchEntryVersion(id));
|
||||||
|
|
||||||
if (result == null)
|
if (result == null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue