• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Stable Feedback
  • /DZG-1326
Back
1

Car headlights don't turn off when taking out the battery while no driver is in the vehicle

VehiclesMultiplayerClient
1

State

Awaiting internal testing
Issue key
DZG-1326
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
lava76
Created
Oct 17, 2026
Views
65
Platform
PC Steam
What happened?

The reason seems to be that CarScript::EEItemDetached only calls LightsOff on server, but UpdateLights is called imediately for both server and client. The headlights then only turn off when entering the vehicle.

Tested working fix is to move the LightsOff call out of the IsServer() check.

Reproduction steps
  1. Turn on car headlights (engine off).

  2. Get out of car.

  3. Take battery out of car.

  4. Headlights stay on until entering the car again.

Exact build version (optional)
1.30
Where did it happen?
Local / Offline
Is it modded?
No
Expected result

Headlights should turn off once the battery is removed.

Reactions

Activity

    17 days ago
  • lava76
    created issue17 days ago
  • 15 days ago
  • l909
    changed state to
    AWAITING INTERNAL TESTING
    15 days ago

You are not signed in. Please sign in to see more details and to reply.

State

Awaiting internal testing
Issue key
DZG-1326
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
lava76
Created
Oct 17, 2026
Views
65