I added a second checkpoint for starting to prevent DeadOnStart issue.
This commit is contained in:
@@ -396,6 +396,16 @@ void ScreenGameplay::Init()
|
||||
break;
|
||||
}
|
||||
|
||||
//
|
||||
// Before the lifemeter loads, if Networking is required
|
||||
// we need to wait, so that there is no Dead On Start issues.
|
||||
// if you wait too long at the second checkpoint, you will
|
||||
// appear dead when you begin your game.
|
||||
//
|
||||
NSMAN->StartRequest();
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Add individual life meter
|
||||
//
|
||||
@@ -1057,7 +1067,9 @@ float ScreenGameplay::StartPlayingSong(float MinTimeToNotes, float MinTimeToMusi
|
||||
p.StopMode = RageSoundParams::M_CONTINUE;
|
||||
p.m_StartSecond = fStartSecond;
|
||||
|
||||
NSMAN->StartRequest(); //Network Code.
|
||||
//Secondary (Precice) start request
|
||||
//used for syncing up songs.
|
||||
NSMAN->StartRequest();
|
||||
|
||||
m_soundMusic->Play( &p );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user