Fix player starting with no items if they first load another file and then return to the main menu to begin another character. Fix player stats not being reset proper when loading another file and then returning to the main menu and beginning another character. Fix potential infinite XP bar gain loop. Added Return to Map option on level completion screen. Equip Stat labels now show live stats (changes on application of buffs, etc.). Release Build 7886. Patch version 0.4.4.
This commit is contained in:
@@ -55,7 +55,7 @@ void State_Death::OnStateChange(GameState*prevState){
|
||||
}
|
||||
game->GetPlayer()->SetState(State::DEATH);
|
||||
if(!Unlock::IsUnlocked("STORY_1_1")){
|
||||
Component<MenuComponent>(DEATH,"Return to Camp Button")->SetLabel(" Return to \nStage Select");
|
||||
Component<MenuComponent>(DEATH,"Return to Camp Button")->SetLabel(" Return to \nStage Select");
|
||||
}else{
|
||||
Component<MenuComponent>(DEATH,"Return to Camp Button")->SetLabel("Return to Camp");
|
||||
}
|
||||
@@ -64,9 +64,7 @@ void State_Death::OnStateChange(GameState*prevState){
|
||||
accTime=0.f;
|
||||
}
|
||||
void State_Death::OnLevelLoad(){
|
||||
Component<MenuComponent>(MenuType::PAUSE,"Return to Camp Button")->SetGrayedOut(
|
||||
!Unlock::IsUnlocked("STORY_1_1")||game->GetCurrentMapName()=="HUB"
|
||||
);
|
||||
Component<MenuComponent>(MenuType::PAUSE,"Return to Camp Button")->SetGrayedOut(false);
|
||||
}
|
||||
void State_Death::OnUserUpdate(AiL*game){
|
||||
accTime+=game->GetElapsedTime();
|
||||
|
||||
Reference in New Issue
Block a user