Skip to content

Commit

Permalink
send reverse sound only if engine is running, same with single player
Browse files Browse the repository at this point in the history
  • Loading branch information
tritonas00 committed Feb 25, 2021
1 parent 2efd5ec commit 9b59269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main/physics/Actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ void Actor::CalcNetwork()
else
SOUND_STOP(ar_instance_id, SS_TRIG_HORN);

if (m_net_reverse_light)
if (m_net_reverse_light && ar_engine->IsRunning())
SOUND_START(ar_instance_id, SS_TRIG_REVERSE_GEAR);
else
SOUND_STOP(ar_instance_id, SS_TRIG_REVERSE_GEAR);
Expand Down

0 comments on commit 9b59269

Please # to comment.