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