Refactors machine linking to use generics (#2462)

Co-authored-by: Paul <ritter.paul1+git@googlemail.com>
This commit is contained in:
Paul Ritter
2020-10-30 19:46:19 +01:00
committed by GitHub
parent 95590833ce
commit f36cba8e21
7 changed files with 31 additions and 35 deletions

View File

@@ -52,7 +52,7 @@ namespace Content.Server.GameObjects.Components.MachineLinking
return;
}
transmitter.TransmitSignal(user, _on ? SignalState.On : SignalState.Off);
transmitter.TransmitSignal(user, _on);
}
private void UpdateSprite()