mirror of
https://github.com/BeamMP/BeamNG-FuelStations.git
synced 2025-07-01 23:35:46 +00:00
Removed breakAllGroups
Disabled the breaking of all components if engine is running, will re-enable if requested.
This commit is contained in:
parent
68ef64d846
commit
9cb44e9990
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user