mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fixed infantry for red player being the same units as blue faction. Fixed skill for enemy vehicles being the same as player's one.
This commit is contained in:
parent
7cbcbc1171
commit
2ed1c36c54
@ -497,9 +497,12 @@ class GroundConflictGenerator:
|
||||
final_position,
|
||||
heading=opposite_heading(spawn_heading)
|
||||
)
|
||||
if is_player:
|
||||
g.set_skill(self.game.settings.player_skill)
|
||||
else:
|
||||
g.set_skill(self.game.settings.enemy_vehicle_skill)
|
||||
positioned_groups.append((g,group))
|
||||
self.gen_infantry_group_for_group(g, True, self.mission.country(country), opposite_heading(spawn_heading))
|
||||
self.gen_infantry_group_for_group(g, is_player, self.mission.country(country), opposite_heading(spawn_heading))
|
||||
else:
|
||||
logging.warning(f"Unable to get valid position for {group}")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user