Update PlayerTask.lua

Bugfix
This commit is contained in:
Thomas 2023-11-15 07:24:01 +01:00 committed by GitHub
parent ef27daa282
commit 2c3e9e992d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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