mirror of
https://github.com/roflmuffin/CounterStrikeSharp.git
synced 2025-12-05 23:58:24 -08:00
10 lines
242 B
C#
10 lines
242 B
C#
using System.Threading.Tasks;
|
|
using CounterStrikeSharp.API;
|
|
|
|
public static class TestUtils
|
|
{
|
|
public static async Task WaitOneFrame()
|
|
{
|
|
await Server.RunOnTickAsync(Server.TickCount + 2, () => { }).ConfigureAwait(false);
|
|
}
|
|
} |