Skip to content

Commit d2fc2b1

Browse files
author
Samuel Venable
authored
Linux can only load audio streams from working_directory
Trying to load from game_save_id will fail and throw an error.
1 parent 01d6df8 commit d2fc2b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/instrument_load/instrument_load.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
function instrument_load() {
22
// instrument_load()
33

4-
var fn = sounds_directory + filename;
5-
if (os_type = os_windows) fn = string_replace_all(fn, "/", "\\");
4+
var fn = bundled_sounds_directory + filename;
5+
if (os_type = os_windows) fn = string_replace_all(fn, "/", "\\")
66

77
log("Load instrument", fn)
88

0 commit comments

Comments
 (0)