mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2026-08-13 01:05:54 +00:00
Removed references to world.getPlayer()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user