Machine Linking Overhaul (#7160)

This commit is contained in:
Jack Fox
2022-04-04 01:13:03 -05:00
committed by GitHub
parent fd7ea3f1e7
commit f957c58906
40 changed files with 605 additions and 696 deletions

View File

@@ -27,13 +27,13 @@ namespace Content.Client.Conveyor.Visualizers
return;
}
appearance.TryGetData(TwoWayLeverVisuals.State, out TwoWayLeverSignal state);
appearance.TryGetData(TwoWayLeverVisuals.State, out TwoWayLeverState state);
var texture = state switch
{
TwoWayLeverSignal.Middle => _stateOff,
TwoWayLeverSignal.Right => _stateForward,
TwoWayLeverSignal.Left => _stateReversed,
TwoWayLeverState.Middle => _stateOff,
TwoWayLeverState.Right => _stateForward,
TwoWayLeverState.Left => _stateReversed,
_ => _stateOff
};