Skip to content

Commit f63b685

Browse files
committed
Help-
1 parent ae565fe commit f63b685

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

source/archipelago/APGameState.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ class APGameState {
193193
}
194194
});
195195

196+
_ap.toggleDeathLink(ClientPrefs.data.deathlink);
197+
196198
_ap.onRetrieved.add(function(retrievedPacket:haxe.DynamicAccess<Dynamic>) {
197199
trace("Retrieved packet: " + retrievedPacket);
198200
for (key in retrievedPacket.keys()) {

source/states/FreeplayState.hx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,11 @@ class FreeplayState extends MusicBeatState
711711
} } else {
712712
songText = new DynamicAlphabet(90, 320, songs[i].songName, true, true);
713713
}
714-
songText.doShuffle = AprilFools.allowAF ? FlxG.random.bool(10) : true;
714+
try {
715+
songText.doShuffle = AprilFools.allowAF ? FlxG.random.bool(10) : true;
716+
} catch (e:Dynamic) {
717+
trace("Error setting doShuffle: " + e);
718+
}
715719
songText.targetY = i;
716720
grpSongs.add(songText);
717721

0 commit comments

Comments
 (0)