mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
naval intercept operation; package refactoring
This commit is contained in:
@@ -2,8 +2,11 @@ import pickle
|
||||
|
||||
|
||||
def load_poly(filename: str):
|
||||
with open(filename, "rb") as f:
|
||||
return pickle.load(f)
|
||||
try:
|
||||
with open(filename, "rb") as f:
|
||||
return pickle.load(f)
|
||||
except:
|
||||
return None
|
||||
|
||||
|
||||
def ray_tracing(x, y, poly):
|
||||
|
||||
Reference in New Issue
Block a user