Removed breakAllGroups

Disabled the breaking of all components if engine is running, will re-enable if requested.
This commit is contained in:
BuilderSky 2022-06-25 22:09:24 -05:00 committed by Deer McDurr
parent 68ef64d846
commit 9cb44e9990

View File

@ -24,8 +24,8 @@ local function addFuel()
if storageType and storageType == "fuelTank" and electrics.values.engineRunning == 1 then
if math.random() < 0.002 then
beamstate.breakAllBreakgroups()
fire.explodeVehicle()
ui_message("Turn off your engine!", 5, "fuelStationsBoom")
end
end