Rewrite xp gain loop. Hopefully faster and fixes xp freeze bugs.

This commit is contained in:
Kwoth
2022-07-07 17:09:11 +00:00
parent 470bb9657f
commit 744018802f
5 changed files with 260 additions and 167 deletions

View File

@@ -57,6 +57,6 @@ public sealed class QueueRunner
}
}
public ValueTask Enqueue(Func<Task> action)
public ValueTask EnqueueAsync(Func<Task> action)
=> _channel.Writer.WriteAsync(action);
}