mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Don't reload weapon data if already loaded.
This commit is contained in:
parent
1b640f40dc
commit
e5c0fc92ec
@ -181,6 +181,8 @@ class WeaponGroup:
|
||||
|
||||
@classmethod
|
||||
def load_all(cls) -> None:
|
||||
if cls._loaded:
|
||||
return
|
||||
seen_clsids: set[str] = set()
|
||||
for group in cls._each_weapon_group():
|
||||
cls.register(group)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user