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