Actually not a big problem (same behaviour as in v1.71), but a thing that could be changed.
Sound.playMusic doesn't return anything. Even if the file is not found I'm not getting an error in my log-file and a check (see below) doesn't work:
Code: Select all
if (!Sound.playMusic('Laenin_Theme.ogg')) log('myScript','File not found!);
or
if (Sound.playMusic('Laenin_Theme.ogg') == false) log('myScript','File not found!);
Code: Select all
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Music/Laenin_Theme.ogg -- no such entry.