diff --git a/source/funkin/play/event/FocusCameraSongEvent.hx b/source/funkin/play/event/FocusCameraSongEvent.hx index 847df4a60..4ea6fa8c0 100644 --- a/source/funkin/play/event/FocusCameraSongEvent.hx +++ b/source/funkin/play/event/FocusCameraSongEvent.hx @@ -57,6 +57,9 @@ class FocusCameraSongEvent extends SongEvent // Does nothing if there is no PlayState camera or stage. if (PlayState.instance == null || PlayState.instance.currentStage == null) return; + // Does nothing if we are minimal mode. + if (PlayState.instance.minimalMode) return; + var posX:Null = data.getFloat('x'); if (posX == null) posX = 0.0; var posY:Null = data.getFloat('y'); diff --git a/source/funkin/play/event/ZoomCameraSongEvent.hx b/source/funkin/play/event/ZoomCameraSongEvent.hx index 809130499..3a903a4ff 100644 --- a/source/funkin/play/event/ZoomCameraSongEvent.hx +++ b/source/funkin/play/event/ZoomCameraSongEvent.hx @@ -55,7 +55,10 @@ class ZoomCameraSongEvent extends SongEvent public override function handleEvent(data:SongEventData):Void { // Does nothing if there is no PlayState camera or stage. - if (PlayState.instance == null) return; + if (PlayState.instance == null || PlayState.instance.currentStage == null) return; + + // Does nothing if we are minimal mode. + if (PlayState.instance.minimalMode) return; var zoom:Null = data.getFloat('zoom'); if (zoom == null) zoom = 1.0;