Skip to content

Commit

Permalink
Add water vision to CZAR depth charge on impact (#6431)
Browse files Browse the repository at this point in the history
Goes alongside the normal vision they give.
  • Loading branch information
lL1l1 authored Sep 21, 2024
1 parent 96358c4 commit a6efc5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/snippets/other.6431.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- (#6431) Make CZAR depth charges give underwater vision on impact alongside the normal vision they give.
1 change: 1 addition & 0 deletions projectiles/AANDepthCharge01/AANDepthCharge01_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ AANDepthCharge01 = ClassProjectile(ADepthChargeProjectile) {
marker:UpdatePosition(px, pz)
marker:UpdateDuration(5)
marker:UpdateIntel(self.Army, 5, 'Vision', true)
marker:UpdateIntel(self.Army, 5, 'WaterVision', true)
ADepthChargeProjectileOnImpact(self, TargetType, TargetEntity)
end,
}
Expand Down

0 comments on commit a6efc5c

Please sign in to comment.