Small tweak to floor number display, increased chinthe speed, fix Return To Overworld option on floor clear menu
This commit is contained in:
@@ -415,7 +415,6 @@ public partial class Game : Node3D, IGame
|
||||
})
|
||||
.Handle((in GameState.Output.LoadNextFloor _) =>
|
||||
{
|
||||
LoadNextLevel.FadeOut();
|
||||
EmitSignal(SignalName.OnLoadLevelRequest);
|
||||
Task.Run(() => Save());
|
||||
if (_player.EquipmentComponent.EquippedWeapon.Value.ItemTag == ItemTag.BreaksOnFloorExit)
|
||||
@@ -438,6 +437,12 @@ public partial class Game : Node3D, IGame
|
||||
}
|
||||
LoadNextLevel.FadeOut();
|
||||
})
|
||||
.Handle((in GameState.Output.ReturnToOverworld _) =>
|
||||
{
|
||||
LoadNextLevel.FadeOut();
|
||||
Task.Run(() => Save());
|
||||
InitializeGame();
|
||||
})
|
||||
.Handle((in GameState.Output.ExitGame _) =>
|
||||
{
|
||||
OnQuit();
|
||||
@@ -453,11 +458,7 @@ public partial class Game : Node3D, IGame
|
||||
|
||||
public void SetAffinity(ElementType elementType) => InGameUI.SetAffinity(elementType);
|
||||
|
||||
private void FloorClearMenu_Exit()
|
||||
{
|
||||
_player.Deactivate();
|
||||
InGameUI.Hide();
|
||||
}
|
||||
private void FloorClearMenu_Exit() => GameState.Input(new GameState.Input.ReturnToOverworld());
|
||||
|
||||
private void ExitInventoryAction() => GameState.Input(new GameState.Input.CloseInventory());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user