mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2025-07-20 09:20:29 +02:00
Add additional constraints
This commit is contained in:
@ -19,7 +19,7 @@ local function generate_effects(params)
|
||||
local override = {}
|
||||
|
||||
override["climate_api:sound"] = {
|
||||
gain = math.min(intensity, 1.2)
|
||||
gain = math.min(intensity, 1)
|
||||
}
|
||||
|
||||
return climate_api.utility.merge_tables(effects, override)
|
||||
|
Reference in New Issue
Block a user