Skip to content

Commit 5e701fc

Browse files
committed
Update MusicBeatState.hx
1 parent b8ff328 commit 5e701fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/backend/MusicBeatState.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ class MusicBeatState extends FlxState
166166

167167
override function update(elapsed:Float)
168168
{
169+
#if windows
169170
if (emergencyOpacityFix) {
170171
CppAPI.setWindowOppacity(1);
171172
emergencyOpacityFix = false;
@@ -179,6 +180,7 @@ class MusicBeatState extends FlxState
179180
FlxG.resetState();
180181
}
181182
else if (Main.audioDisconnected) FlxG.resetState();
183+
#end
182184

183185
// everyStep();
184186
var oldStep:Int = curStep;

0 commit comments

Comments
 (0)