Merge pull request #61 from theDetourist/quickfix

Fix for song not ending / Add Discord RPC instructions to README
This commit is contained in:
Kade M 2021-03-25 12:30:37 -07:00 committed by GitHub
commit a0f25d7e4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -106,6 +106,9 @@ You should have everything ready for compiling the game! Follow the guide below
At the moment, you can optionally fix the transition bug in songs with zoomed out cameras. At the moment, you can optionally fix the transition bug in songs with zoomed out cameras.
- Run `haxelib git flixel-addons https://github.com/HaxeFlixel/flixel-addons` in the terminal/command-prompt. - Run `haxelib git flixel-addons https://github.com/HaxeFlixel/flixel-addons` in the terminal/command-prompt.
**As of version 1.3**, you also need Discord RPC to compile the game, get it by using the following command:
- Use `haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc` in the terminal/command-prompt.
### Ignored files ### Ignored files
I gitignore the API keys for the game, so that no one can nab them and post fake highscores on the leaderboards. But because of that the game I gitignore the API keys for the game, so that no one can nab them and post fake highscores on the leaderboards. But because of that the game

View File

@ -1131,6 +1131,8 @@ class PlayState extends MusicBeatState
if (!paused) if (!paused)
FlxG.sound.playMusic(Paths.inst(PlayState.SONG.song), 1, false); FlxG.sound.playMusic(Paths.inst(PlayState.SONG.song), 1, false);
FlxG.sound.music.onComplete = endSong;
vocals.play(); vocals.play();
if (FlxG.save.data.songPosition) if (FlxG.save.data.songPosition)