mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Added a settings to control the amount smoke effects on frontlines. Default smoke spacing changed from 800 to 1600 (half the current amount)
This commit is contained in:
@@ -109,7 +109,7 @@ class VisualGenerator:
|
||||
if not plane_start:
|
||||
continue
|
||||
|
||||
for offset in range(0, distance, FRONT_SMOKE_SPACING):
|
||||
for offset in range(0, distance, self.game.settings.perf_smoke_spacing):
|
||||
position = plane_start.point_from_heading(heading, offset)
|
||||
|
||||
for k, v in FRONT_SMOKE_TYPE_CHANCES.items():
|
||||
@@ -162,6 +162,7 @@ class VisualGenerator:
|
||||
"",
|
||||
_type=v,
|
||||
position=position,
|
||||
hidden=True,
|
||||
)
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user