Commit e4cf066c authored by Michael Ochmann's avatar Michael Ochmann
Browse files

doublesound fix

parent 2a850986
......@@ -29,6 +29,7 @@ namespace gdw {
break;
case Event::TRAKTORBEAM_REVERSE_ACTIVATED:
case Event::TRAKTORBEAM_ACTIVATED:
this->engine.audio().stop_sound(this->channels["beam"]);
this->channels["beam"] = this->engine.audio().queue_sound("tractorBeam", -1);
this->engine.audio().sound_volume(60, this->channels["beam"]);
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment