Skip to content

Commit

Permalink
why doesn't github show all of the errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jun 10, 2024
1 parent e653575 commit 9ffe05e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions source/meta/state/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,17 @@ class PlayState extends MusicBeatState
ReplayState.sustainHits = [];
}

removedVideo = false;
#if WEBM_ALLOWED
var ourVideo:Dynamic = BackgroundVideo.get();

if (useVideo && ourVideo != null)
{
ourVideo.stop();
remove(videoSprite);
}

removedVideo = true;
#end

debugKeysChart = ClientPrefs.copyKey(ClientPrefs.keyBinds.get('debug_1'));
debugKeysCharacter = ClientPrefs.copyKey(ClientPrefs.keyBinds.get('debug_2'));
Expand Down Expand Up @@ -3561,8 +3571,6 @@ class PlayState extends MusicBeatState
var canPause:Bool = true;
var limoSpeed:Float = 0;

public var removedVideo = false;

override public function update(elapsed:Float)
{
if (SONG.song.toLowerCase() == 'guns' && tankmanRainbow)
Expand Down
2 changes: 1 addition & 1 deletion source/meta/video/VideoSubState.hx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package meta.video;

class VideoSubState extends MusicSubState
class VideoSubState extends MusicBeatSubState
{
var leSource:String = "";

Expand Down

0 comments on commit 9ffe05e

Please sign in to comment.