This commit is contained in:
2025-05-25 23:39:34 +02:00
parent e1f392e8a3
commit 0d6809552d
5 changed files with 20 additions and 22 deletions
@@ -184,10 +184,6 @@ end
---@return number
function BattleManager:getBestAmmo(unit)
if unit:getName() == "Ground-32-1" then
env.info(Spearhead.Util.toString(unit:getAmmo()))
end
local ammo = unit:getAmmo()
if not ammo then return 3221225470, 1 end -- Default ammo if no ammo is found