mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
17 lines
418 B
C#
17 lines
418 B
C#
using Robust.Client.Interfaces;
|
|
using Robust.Shared;
|
|
using Robust.Shared.IoC;
|
|
|
|
namespace Robust.Client
|
|
{
|
|
internal sealed class ClientSignalHandler : SignalHandler
|
|
{
|
|
[Dependency] private readonly IGameController _gameController = default!;
|
|
|
|
protected override void OnReceiveTerminationSignal(string signal)
|
|
{
|
|
_gameController.Shutdown($"{signal} received");
|
|
}
|
|
}
|
|
}
|