Skip to content
This repository was archived by the owner on Oct 18, 2025. It is now read-only.

Commit 2d4d13c

Browse files
im retarded life action
1 parent 2a8f3fa commit 2d4d13c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/funkin/states/PlayState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ class PlayState extends ScriptState
10821082

10831083
private function moveCamera(section:Int)
10841084
{
1085-
callOnScripts('onCameraMove', [SONG.sections[section].focus ?? -1]);
1085+
callOnScripts('onCameraMove', [SONG.sections[section] == null ? -1 : SONG.sections[section].focus]);
10861086

10871087
if (SONG.sections[section] != null)
10881088
{

0 commit comments

Comments
 (0)