mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
partially fix static sounds
This commit is contained in:
@@ -1449,7 +1449,7 @@ event_manager::InitEvents() {
|
||||
}
|
||||
case tp_Sound: {
|
||||
// odtworzenie dźwięku
|
||||
auto *sound = sound_man->create_sound(event->asNodeName);
|
||||
auto *sound = simulation::Sounds.find( event->asNodeName );
|
||||
if( sound != nullptr )
|
||||
event->Params[ 9 ].tsTextSound = sound;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user