Song Position bar & Save cleanup
This commit is contained in:
31
source/KadeEngineData.hx
Normal file
31
source/KadeEngineData.hx
Normal file
@ -0,0 +1,31 @@
|
||||
import flixel.FlxG;
|
||||
|
||||
class KadeEngineData
|
||||
{
|
||||
public static function initSave()
|
||||
{
|
||||
if (FlxG.save.data.newInput == null)
|
||||
FlxG.save.data.newInput = true;
|
||||
|
||||
if (FlxG.save.data.downscroll == null)
|
||||
FlxG.save.data.downscroll = false;
|
||||
|
||||
if (FlxG.save.data.dfjk == null)
|
||||
FlxG.save.data.dfjk = false;
|
||||
|
||||
if (FlxG.save.data.accuracyDisplay == null)
|
||||
FlxG.save.data.accuracyDisplay = true;
|
||||
|
||||
if (FlxG.save.data.accuracyDisplay == null)
|
||||
FlxG.save.data.accuracyDisplay = true;
|
||||
|
||||
if (FlxG.save.data.offset == null)
|
||||
FlxG.save.data.offset = 0;
|
||||
|
||||
if (FlxG.save.data.offset == null)
|
||||
FlxG.save.data.offset = 0;
|
||||
|
||||
if (FlxG.save.data.songPosition == null)
|
||||
FlxG.save.data.songPosition = false;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user