mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Use ResourcePath for audio files
This commit is contained in:
@@ -77,7 +77,7 @@ void TurnTimerWidget::setTime(PlayerColor player, int time)
|
||||
&& newTime != turnTime
|
||||
&& notifications.count(newTime))
|
||||
{
|
||||
CCS->soundh->playSound(variables["notificationSound"].String());
|
||||
CCS->soundh->playSound(AudioPath::fromJson(variables["notificationSound"]));
|
||||
}
|
||||
|
||||
turnTime = newTime;
|
||||
|
||||
Reference in New Issue
Block a user