mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Stop counting neutral base captures in status.
These had no effect but were being counted on the waiting for mission results page. Cleaned up the implementation a bunch while I was here. Fixes https://github.com/Khopa/dcs_liberation/issues/1037
This commit is contained in:
@@ -673,7 +673,7 @@ class ConflictTheater:
|
||||
for i in self.controlpoints:
|
||||
if i.id == id:
|
||||
return i
|
||||
raise RuntimeError(f"Cannot find ControlPoint with ID {id}")
|
||||
raise KeyError(f"Cannot find ControlPoint with ID {id}")
|
||||
|
||||
def add_json_cp(self, theater, p: dict) -> ControlPoint:
|
||||
cp: ControlPoint
|
||||
|
||||
Reference in New Issue
Block a user