We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8be545a commit 7186d44Copy full SHA for 7186d44
1 file changed
src/Libraries/Player.cs
@@ -200,7 +200,7 @@ public void Rename(BasePlayer player, string name)
200
return;
201
}
202
203
- List<Connection> connections = Pool.GetList<Connection>();
+ List<Connection> connections = Pool.Get<List<Connection>>();
204
205
for (int i = 0; i < Net.sv.connections.Count; i++)
206
{
@@ -213,7 +213,7 @@ public void Rename(BasePlayer player, string name)
213
214
215
player.OnNetworkSubscribersLeave(connections);
216
- Pool.FreeList(ref connections);
+ Pool.FreeUnmanaged(ref connections);
217
218
if (player.limitNetworking)
219
0 commit comments