mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Maybe the removal of the Settings when a player exits kills DCS ?
This commit is contained in:
parent
d66b7b8c20
commit
e048ea995e
@ -790,7 +790,7 @@ function DATABASE:_EventOnPlayerLeaveUnit( Event )
|
|||||||
local PlayerName = Event.IniUnit:GetPlayerName()
|
local PlayerName = Event.IniUnit:GetPlayerName()
|
||||||
if self.PLAYERS[PlayerName] then
|
if self.PLAYERS[PlayerName] then
|
||||||
local Settings = SETTINGS:Set( PlayerName )
|
local Settings = SETTINGS:Set( PlayerName )
|
||||||
Settings:RemovePlayerMenu( Event.IniUnit )
|
--Settings:RemovePlayerMenu( Event.IniUnit )
|
||||||
self:DeletePlayer( Event.IniUnit, PlayerName )
|
self:DeletePlayer( Event.IniUnit, PlayerName )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user