mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Disabled the base Retribution plugin in pretenseluagenerator.py and disabled adding zones for OffMapSpawns.
This commit is contained in:
@@ -212,14 +212,11 @@ class ConflictTheater:
|
||||
for other_cp in control_points:
|
||||
if cp == other_cp:
|
||||
continue
|
||||
print(f"{cp}: {other_cp} being evaluated...")
|
||||
|
||||
dist = other_cp.position.distance_to_point(cp.position)
|
||||
print(f" {other_cp} is at {dist} meters")
|
||||
distances_to_cp[dist] = other_cp
|
||||
for i in sorted(distances_to_cp.keys()):
|
||||
other_cp = distances_to_cp[i]
|
||||
print(f" {other_cp} is at {i} meters")
|
||||
if closest_cp is None:
|
||||
closest_cp = other_cp
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user