We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eed435 commit c3f5ce3Copy full SHA for c3f5ce3
VisualPinball.Engine.PinMAME.Unity/Runtime/PinMameGamelogicEngine.cs
@@ -395,10 +395,10 @@ private void GameEnded()
395
396
public void SendInitialSwitches()
397
{
398
- var switches = _player.SwitchStatusesClosed;
+ var switches = _player.SwitchStatuses;
399
Logger.Info("[PinMAME] Sending initial switch statuses...");
400
foreach (var id in switches.Keys) {
401
- var isClosed = switches[id];
+ var isClosed = switches[id].IsSwitchClosed;
402
// skip open switches
403
if (!isClosed) {
404
continue;
0 commit comments