From ddd72adea37f93a75cd2a86dd113926b2b3c95c8 Mon Sep 17 00:00:00 2001 From: szporowolik Date: Thu, 31 Oct 2019 10:25:06 +0100 Subject: [PATCH] Fixed "landed at" bug --- 01_DCS/Hooks/Perun.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/01_DCS/Hooks/Perun.lua b/01_DCS/Hooks/Perun.lua index c3cb552..5fd483a 100644 --- a/01_DCS/Hooks/Perun.lua +++ b/01_DCS/Hooks/Perun.lua @@ -849,9 +849,9 @@ Perun.onGameEvent = function (eventName,arg1,arg2,arg3,arg4,arg5,arg6,arg7) elseif eventName == "landing" then --"landing", playerID, unit_missionID, airdromeName if arg3 ~= "" then - _temp = " at " .. arg3; + _temp_airfield = " at " .. arg3; else - _temp =""; + _temp_airfield =""; end -- TBD below shall be moved to function and arrays of strings - see takeoffs