0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-25 04:35:18 +00:00

Make connect packet parameter _ in ClientJoined handler

This commit is contained in:
Sanae 2022-03-03 21:06:27 -06:00
parent 412607c0c9
commit f6df86f927

View file

@ -12,7 +12,7 @@ CancellationTokenSource cts = new CancellationTokenSource();
Task listenTask = server.Listen(cts.Token);
Logger consoleLogger = new Logger("Console");
server.ClientJoined += async (c, type) => {
server.ClientJoined += async (c, _) => {
c.Metadata["shineSync"] = new ConcurrentBag<int>();
c.Metadata["loadedSave"] = false;
c.Metadata["scenario"] = 0;