Fixing menus

This commit is contained in:
FlightControl_Master 2017-12-12 20:50:52 +01:00
parent 95112e8818
commit e04b434fcb

View File

@ -804,7 +804,7 @@ function DATABASE:_EventOnPlayerLeaveUnit( Event )
if self.PLAYERS[PlayerName] then
self:E( { "Player Left:", PlayerName } )
local Settings = SETTINGS:Set( PlayerName )
--Settings:RemovePlayerMenu( Event.IniUnit )
Settings:RemovePlayerMenu( Event.IniUnit )
self:DeletePlayer( Event.IniUnit, PlayerName )
end
end