mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix unculled zones not updating when needed.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1034.
This commit is contained in:
@@ -19,6 +19,7 @@ def bounded_int_option(
|
||||
max: int,
|
||||
detail: Optional[str] = None,
|
||||
tooltip: Optional[str] = None,
|
||||
causes_expensive_game_update: bool = False,
|
||||
**kwargs: Any,
|
||||
) -> int:
|
||||
return field(
|
||||
@@ -29,7 +30,7 @@ def bounded_int_option(
|
||||
text,
|
||||
detail,
|
||||
tooltip,
|
||||
causes_expensive_game_update=False,
|
||||
causes_expensive_game_update,
|
||||
min=min,
|
||||
max=max,
|
||||
)
|
||||
|
||||
@@ -448,6 +448,7 @@ class Settings:
|
||||
default=100,
|
||||
min=10,
|
||||
max=10000,
|
||||
causes_expensive_game_update=True,
|
||||
)
|
||||
perf_do_not_cull_carrier: bool = boolean_option(
|
||||
"Do not cull carrier's surroundings",
|
||||
|
||||
Reference in New Issue
Block a user