Merge pull request #61 from theDetourist/quickfix
Fix for song not ending / Add Discord RPC instructions to README
This commit is contained in:
commit
a0f25d7e4d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
|||||||
export/
|
export/
|
||||||
.vscode/
|
.vscode/
|
||||||
APIStuff.hx
|
APIStuff.hx
|
||||||
|
@ -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
|
||||||
|
@ -1130,7 +1130,9 @@ class PlayState extends MusicBeatState
|
|||||||
lastReportedPlayheadPosition = 0;
|
lastReportedPlayheadPosition = 0;
|
||||||
|
|
||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user