Merge branch 'feat/spaceship-ramp-shot-logic' of github.com:VGVentures/pinball into feat/spaceship-ramp-shot-logic

pull/296/head
RuiAlonso 3 years ago
commit 7515d1bcf8

@ -36,11 +36,9 @@ class RampBonusBehavior extends Component
sensor.bloc.stream.listen((state) { sensor.bloc.stream.listen((state) {
switch (state.type) { switch (state.type) {
case RampSensorType.door: case RampSensorType.door:
_handleOnDoor(state.ball!); return _handleOnDoor(state.ball!);
break;
case RampSensorType.inside: case RampSensorType.inside:
_handleOnInside(state.ball!); return _handleOnInside(state.ball!);
break;
} }
}); });
} }

Loading…
Cancel
Save