mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
20 lines
356 B
C#
20 lines
356 B
C#
using System;
|
|
|
|
namespace Robust.Client.Timing;
|
|
|
|
public readonly struct StateApplicationGuard : IDisposable
|
|
{
|
|
private readonly IClientGameTiming _gameTiming;
|
|
|
|
public StateApplicationGuard(IClientGameTiming gameTiming)
|
|
{
|
|
_gameTiming = gameTiming;
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
_gameTiming.EndStateApplication();
|
|
}
|
|
}
|
|
|