mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
added typing
This commit is contained in:
parent
de95cfc981
commit
2cb37b5bd8
@ -11,7 +11,7 @@ class GenericSamGroupGenerator(GroupGenerator):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def groupNamePrefix(self):
|
def groupNamePrefix(self) -> str:
|
||||||
# prefix the SAM site for use with the Skynet IADS plugin
|
# prefix the SAM site for use with the Skynet IADS plugin
|
||||||
if self.faction == self.game.player_name: # this is the player faction
|
if self.faction == self.game.player_name: # this is the player faction
|
||||||
return "BLUE SAM "
|
return "BLUE SAM "
|
||||||
|
|||||||
@ -19,7 +19,7 @@ class GroupGenerator():
|
|||||||
wp.ETA_locked = True
|
wp.ETA_locked = True
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def groupNamePrefix(self):
|
def groupNamePrefix(self) -> str:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
def generate(self):
|
def generate(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user