#bugfix, docu

This commit is contained in:
Applevangelist 2023-11-15 10:17:26 +01:00
parent 59784c4af5
commit 57ae54d665
2 changed files with 2 additions and 2 deletions

View File

@ -756,7 +756,7 @@ end -- cargo
--- Finds a CLIENT based on the ClientName.
-- @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.
function DATABASE:FindClient( ClientName )

View File

@ -2239,7 +2239,7 @@ function PLAYERTASKCONTROLLER:_EventHandler(EventData)
end
if EventData.IniPlayerName then
--self.PlayerMenu[EventData.IniPlayerName] = nil
local player = _DATABASE:FindClient( EventData.IniPlayerName )
local player = _DATABASE:FindClient( EventData.IniUnitName )
self:_SwitchMenuForClient(player,"Info")
end
end