Skip to content

Commit fc8c970

Browse files
committed
windows exclusive content
1 parent 5e701fc commit fc8c970

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

source/backend/MusicBeatChartingState.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package backend;
22

33
import flixel.addons.ui.FlxUIState;
4+
#if windows
45
import backend.window.CppAPI;
6+
#end
57
import flixel.FlxState;
68
import backend.PsychCamera;
79
import archipelago.APEntryState;
@@ -135,10 +137,12 @@ class MusicBeatChartingState extends FlxUIState
135137

136138
override function update(elapsed:Float)
137139
{
140+
#if windows
138141
if (emergencyOpacityFix) {
139142
CppAPI.setWindowOppacity(1);
140143
emergencyOpacityFix = false;
141144
}
145+
#end
142146

143147
if (Main.audioDisconnected && getState() == PlayState.instance)
144148
{

source/backend/MusicBeatState.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package backend;
22

33
import haxe.ds.HashMap;
4+
#if windows
45
import backend.window.CppAPI;
6+
#end
57
import flixel.FlxState;
68
import backend.PsychCamera;
79
import archipelago.APEntryState;

0 commit comments

Comments
 (0)