Skip to content

Commit

Permalink
stupiddddddddddddddd
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed Feb 27, 2024
1 parent 82b3548 commit c0b9649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/states/CharacterSelectionState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class CharacterSelectionState extends MusicBeatState {
var camHUD:FlxCamera;

override function create() {
#if desktop DiscordClient.changePresence('Selecting a Character'); #end
#if desktop DiscordClient.changePresence('Selecting a Character', null); #end

persistentUpdate = true;

Expand Down
4 changes: 3 additions & 1 deletion source/states/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import substates.ResetScoreSubState;
import flixel.math.FlxMath;
import flixel.ui.FlxBar;
import flixel.util.FlxStringUtil;
import flixel.util.FlxDestroyUtil;
import tjson.TJSON as Json;

@:access(flixel.sound.FlxSound)

Expand Down Expand Up @@ -564,7 +566,7 @@ class FreeplayState extends MusicBeatState {

override function beatHit()
{
if (player.playingMusic && !player.paused) {
if (player.playingMusic && player.playing) {
var icon:HealthIcon = iconArray[curSelected];
icon.scale.set(1.2, 1.2);
icon.updateHitbox();
Expand Down

0 comments on commit c0b9649

Please sign in to comment.