offset desktop only pt.2

This commit is contained in:
Detoria 2021-04-15 12:29:28 -03:00 committed by GitHub
parent 6e93df0437
commit 7162b4dd86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,10 +39,10 @@ import lime.utils.Assets;
import openfl.display.BlendMode;
import openfl.display.StageQuality;
import openfl.filters.ShaderFilter;
import Sys;
#if windows
import Discord.DiscordClient;
import Sys;
#end
using StringTools;
@ -1230,6 +1230,7 @@ class PlayState extends MusicBeatState
var playerCounter:Int = 0;
// Per song offset check
#if desktop
var songPath = 'assets/data/' + PlayState.SONG.song.toLowerCase() + '/';
for(file in sys.FileSystem.readDirectory(songPath))
{
@ -1247,6 +1248,8 @@ class PlayState extends MusicBeatState
}
}
}
#end
var daBeats:Int = 0; // Not exactly representative of 'daBeats' lol, just how much it has looped
for (section in noteData)
{