Skip to content

Commit 09a28c4

Browse files
committed
Working on stuff.
1 parent 81642f3 commit 09a28c4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

source/Main.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,8 +1160,9 @@ class GlobalException extends haxe.Exception
11601160
haxe.Timer.delay(function()
11611161
{
11621162
if (allowHandle)
1163-
{
1163+
{
11641164
// Handle the exception
1165+
WindowUtils.preventClosing = true;
11651166
Main.onCrash(new UncaughtErrorEvent(UncaughtErrorEvent.UNCAUGHT_ERROR, exception));
11661167
}
11671168
else

source/archipelago/APNote.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class APNote extends objects.Note {
66

77

88
var APItem:NetworkItem;
9-
var APItemLocation:Int = 0;
9+
var APItemLocation:Null<Int> = null;
1010

1111
public function new(note:objects.Note, location:Int, ?item:NetworkItem = null) {
1212
super(note.strumTime, note.noteData, note.prevNote, note.isSustainNote);

source/yutautil/FlowState.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ import flixel.FlxState;
44

55
class FlowState extends MusicBeatState {
66
private var currentSubState:BaseFlowState;
7+
private static var _this:FlowState;
78

89
public function new(initialState:BaseFlowState) {
910
super();
11+
this._this = this; // A FlowState is meant to handle its own state transitions, so we can use this to reference it.
1012
this.currentSubState = initialState;
1113
this.currentSubState.enter(null, function() {});
1214
}

0 commit comments

Comments
 (0)