Skip to content

Commit

Permalink
modulate SS_MOD_INJECTOR on remote actors also
Browse files Browse the repository at this point in the history
  • Loading branch information
tritonas00 committed Feb 28, 2021
1 parent 9b59269 commit f0bd738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main/physics/ActorManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ void ActorManager::UpdateActors(Actor* player_actor)
{
this->UpdateTruckFeatures(actor, dt);
}
if (actor->ar_sim_state == Actor::SimState::LOCAL_SLEEPING)
if (actor->ar_sim_state == Actor::SimState::LOCAL_SLEEPING || actor->ar_sim_state == Actor::SimState::NETWORKED_OK)
{
actor->ar_engine->UpdateEngineSim(dt, 1);
}
Expand Down

0 comments on commit f0bd738

Please # to comment.