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

View File

@@ -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