This commit is contained in:
Applevangelist
2023-11-11 19:01:51 +01:00
parent 847df24ab0
commit fb4914a120
4 changed files with 150 additions and 54 deletions

View File

@@ -668,7 +668,7 @@ function CLIENTMENUMANAGER:Propagate(Client)
for _,_client in pairs(Set) do
local client = _client -- Wrapper.Client#CLIENT
if client and client:IsAlive() then
local playername = client:GetPlayerName()
local playername = client:GetPlayerName() or "none"
if not self.playertree[playername] then
self.playertree[playername] = {}
end