Fix sound rendering for web

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-15 12:46:38 +01:00
parent 0dcc19dd37
commit a7506b475e
3 changed files with 10 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ class GameSelectScreen extends StatelessWidget {
);
}
Future<List<WolfensteinData>> loadData([String? directory]) async {
Future<List<WolfensteinData>> loadData({String? directory}) async {
final List<WolfensteinData> loadedGames = [];
// 1. Always attempt to load bundled assets first (works on ALL platforms)