BOS-100 fixes

Fixes
This commit is contained in:
Thomas
2024-02-13 14:59:09 +01:00
committed by GitHub
parent f43a71d9e7
commit 00c6d19e8c
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ awacs:SetTACAN(2, "WIZ")
awacs:__Start(1)
-- Rescue Helo with home base Lake Erie. Has to be a global object!
rescuehelo=RESCUEHELO:New("USS Stennis", "Rescue Helo")
local rescuehelo=RESCUEHELO:New("USS Stennis", "Rescue Helo")
rescuehelo:SetHomeBase(AIRBASE:FindByName("Lake Erie"))
rescuehelo:SetModex(42)
rescuehelo:__Start(1)
@@ -95,7 +95,7 @@ end
--- Function called when AWACS is started.
function awacs:OnAfterStart(From,Event,To)
-- Set AWACS.
AirbossStennis:SetRecoveryTanker(tanker)
AirbossStennis:SetAWACS(awacs)
end
@@ -118,7 +118,7 @@ function AirbossStennis:OnAfterLSOGrade(From, Event, To, playerData, grade)
local name=tostring(PlayerData.name)
-- Report LSO grade to dcs.log file.
env.info(string.format("Player %s scored %.1f", name, score))
self:I(string.format("Player %s scored %.1f", name, score))
end