mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#bugfix, docu
This commit is contained in:
@@ -756,7 +756,7 @@ end -- cargo
|
|||||||
|
|
||||||
--- Finds a CLIENT based on the ClientName.
|
--- Finds a CLIENT based on the ClientName.
|
||||||
-- @param #DATABASE self
|
-- @param #DATABASE self
|
||||||
-- @param #string ClientName
|
-- @param #string ClientName - Note this is the UNIT name of the client!
|
||||||
-- @return Wrapper.Client#CLIENT The found CLIENT.
|
-- @return Wrapper.Client#CLIENT The found CLIENT.
|
||||||
function DATABASE:FindClient( ClientName )
|
function DATABASE:FindClient( ClientName )
|
||||||
|
|
||||||
|
|||||||
@@ -2239,7 +2239,7 @@ function PLAYERTASKCONTROLLER:_EventHandler(EventData)
|
|||||||
end
|
end
|
||||||
if EventData.IniPlayerName then
|
if EventData.IniPlayerName then
|
||||||
--self.PlayerMenu[EventData.IniPlayerName] = nil
|
--self.PlayerMenu[EventData.IniPlayerName] = nil
|
||||||
local player = _DATABASE:FindClient( EventData.IniPlayerName )
|
local player = _DATABASE:FindClient( EventData.IniUnitName )
|
||||||
self:_SwitchMenuForClient(player,"Info")
|
self:_SwitchMenuForClient(player,"Info")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user