[UserInfo]: Remove redundant lambda function
This commit is contained in:
parent
09ff8b4fb6
commit
0f6dcc193c
@ -105,15 +105,7 @@ namespace Components::GSC
|
||||
|
||||
AddScriptMethods();
|
||||
|
||||
Events::OnVMShutdown([]
|
||||
{
|
||||
ClearAllOverrides();
|
||||
});
|
||||
|
||||
Events::OnClientDisconnect([](const int clientNum)
|
||||
{
|
||||
// Clear the overrides for UserInfo
|
||||
ClearClientOverrides(clientNum);
|
||||
});
|
||||
Events::OnVMShutdown(ClearAllOverrides);
|
||||
Events::OnClientDisconnect(ClearClientOverrides);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user