* Surgery * translate strings * ru translate * second ru translate * fix * fix pizza icon * пу-пу-пу * fix damageeeee * fix * fix x2)
17 lines
473 B
C#
17 lines
473 B
C#
using Content.Shared._Sunrise.Medical.Surgery;
|
|
|
|
namespace Content.Client._Sunrise.Medical.Surgery;
|
|
// Based on the RMC14.
|
|
// https://github.com/RMC-14/RMC-14
|
|
public sealed class SurgerySystem : SharedSurgerySystem
|
|
{
|
|
public event Action? OnRefresh;
|
|
public override void Update(float frameTime)
|
|
{
|
|
_delayAccumulator += frameTime;
|
|
if (_delayAccumulator > 1) {
|
|
_delayAccumulator = 0;
|
|
OnRefresh?.Invoke();
|
|
}
|
|
}
|
|
}
|