Fixed "landed at" bug

This commit is contained in:
szporowolik
2019-10-31 10:25:06 +01:00
parent a6e809a3b1
commit ddd72adea3

View File

@@ -849,9 +849,9 @@ Perun.onGameEvent = function (eventName,arg1,arg2,arg3,arg4,arg5,arg6,arg7)
elseif eventName == "landing" then elseif eventName == "landing" then
--"landing", playerID, unit_missionID, airdromeName --"landing", playerID, unit_missionID, airdromeName
if arg3 ~= "" then if arg3 ~= "" then
_temp = " at " .. arg3; _temp_airfield = " at " .. arg3;
else else
_temp =""; _temp_airfield ="";
end end
-- TBD below shall be moved to function and arrays of strings - see takeoffs -- TBD below shall be moved to function and arrays of strings - see takeoffs