Use element from id in netevents

This commit is contained in:
Vortrex
2021-04-22 09:25:38 -05:00
parent 824cb99a28
commit 4fe27bf27c

View File

@@ -34,7 +34,7 @@ function toggleVehicleEngine(vehicle, state) {
// =========================================================================== // ===========================================================================
function toggleVehicleLights(vehicle, state) { function toggleVehicleLights(vehicle, state) {
vehicle.lights = state; getElementFromId(vehicle).lights = state;
} }
// =========================================================================== // ===========================================================================