Skip to content

Commit

Permalink
ChaosMod: Fix "Lag" effect turning vehicle engine off
Browse files Browse the repository at this point in the history
  • Loading branch information
pongo1231 committed Sep 6, 2023
1 parent 095c121 commit 3e2f1b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChaosMod/Effects/db/Misc/MiscLag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ static void OnTickLag()
SET_ENTITY_VELOCITY(veh, vel.x, vel.y, vel.z);

SET_VEHICLE_FORWARD_SPEED(veh, forwardSpeed);

SET_VEHICLE_ENGINE_ON(veh, true, true, false);
}

ms_ToTpVehs.clear();
Expand Down

0 comments on commit 3e2f1b6

Please sign in to comment.