global game scripts (charts/)
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
1281
|
||||
1283
|
||||
@@ -285,11 +285,14 @@ class PlayState extends MusicBeatState
|
||||
// case "":
|
||||
// ADD YOUR HARDCODED SCRIPTS HERE!
|
||||
default:
|
||||
var content = Paths.getFolderContent('data/charts/${SONG.song}/', false, true, !fromMods);
|
||||
for(file in content) {
|
||||
var ext = Path.extension(file).toLowerCase();
|
||||
if (Script.scriptExtensions.contains(ext)) {
|
||||
scripts.add(Script.create(file));
|
||||
for(content in [
|
||||
Paths.getFolderContent('data/charts/${SONG.song}/', false, true, !fromMods),
|
||||
Paths.getFolderContent('data/charts/', false, true, !fromMods)]) {
|
||||
for(file in content) {
|
||||
var ext = Path.extension(file).toLowerCase();
|
||||
if (Script.scriptExtensions.contains(ext)) {
|
||||
scripts.add(Script.create(file));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -104,7 +104,6 @@ class AudioFixClient : public IMMNotificationClient {
|
||||
EDataFlow flow, ERole role,
|
||||
LPCWSTR pwstrDeviceId)
|
||||
{
|
||||
std::cout << "fuck";
|
||||
::funkin::_hx_system::Main_obj::audioDisconnected = true;
|
||||
return S_OK;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user