Skip to content

Commit 8562718

Browse files
rodney528charlesisfeline
authored andcommitted
Update PlayState.hx
1 parent 9475dd1 commit 8562718

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/funkin/game/PlayState.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ class PlayState extends MusicBeatState
138138
public var downscroll(get, set):Bool;
139139

140140
@:dox(hide) private function set_downscroll(v:Bool) {
141-
scripts.call('onDownscrollSet', [v]);
141+
if (camHUD.downscroll != v)
142+
scripts.call('onDownscrollSet', [v]);
142143
return camHUD.downscroll = v;
143144
}
144145
@:dox(hide) private function get_downscroll():Bool {

0 commit comments

Comments
 (0)