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
parent 7e5f6017a4
commit fd21f17b82

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