Skip to content

Commit

Permalink
Update stats.ts (#6)
Browse files Browse the repository at this point in the history
Fix vehicleHealth
  • Loading branch information
mikield authored May 6, 2024
1 parent 82b2012 commit d135715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/client/system/stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function update() {
alt.Player.local.vehicle ? alt.Player.local.vehicle.indicatorLights : 0
);
view.emit(
Events.localPlayer.stats.gear,
Events.localPlayer.stats.vehicleHealth,
alt.Player.local.vehicle ? native.getVehicleEngineHealth(alt.Player.local.vehicle) : 0
);
view.emit(
Expand Down

0 comments on commit d135715

Please sign in to comment.