Removed references to world.getPlayer()

This commit is contained in:
Ambroise Garel
2025-08-05 17:22:16 +02:00
parent dca67aa13c
commit c3ecc403e2
3 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ do
end
function TUM.mission.getPlayerCallsign()
local player = world.getPlayer()
local player = DCSEx.world.getFirstPlayer(TUM.settings.getPlayerCoalition())
if player then return player:getCallsign() end
return "Flight"
end