Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 943551b

Browse files
committed
Correct PresetNames in AntiAirDrone script (followup to a055905)
1 parent a055905 commit 943551b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Base.rte/Actors/Drones/AntiAir/AntiAirDrone.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ function Create(self)
99
self.ValidTargets = {}
1010
self.Frame = 1
1111

12-
-- The "AA-Drone Ammo Counter" object tracks ammo across battles and reduce gold cost of the carrier
13-
if self:HasObject("AA-Drone Ammo Counter") then
12+
-- The "Anti-Air Drone Ammo Counter" object tracks ammo across battles and reduce gold cost of the carrier
13+
if self:HasObject("Anti-Air Drone Ammo Counter") then
1414
if self.InventorySize == 1 then
1515
self.Frame = 2 -- One SAM left
1616
else
@@ -231,7 +231,7 @@ function Update(self)
231231
end
232232

233233
-- Add an invisible object to the inventory to track ammo
234-
local AmmoCounter = CreateMOSRotating("AA-Drone Ammo Counter", "Base.rte")
234+
local AmmoCounter = CreateMOSRotating("Anti-Air Drone Ammo Counter", "Base.rte")
235235
if AmmoCounter then
236236
self:AddInventoryItem(AmmoCounter)
237237
end

0 commit comments

Comments
 (0)