Fix string for next floor on load screen to use display string name of next floor

This commit is contained in:
2026-06-09 01:02:49 -07:00
parent 714d3a771c
commit fa248e5ba1
5 changed files with 11 additions and 3 deletions
+2
View File
@@ -29,6 +29,8 @@ public partial class Map : Node3D, IMap
public AutoProp<string> CurrentFloorDisplayString { get; private set; } = new AutoProp<string>(string.Empty);
public string NextFloorDisplayString => MapOrder.GetChildren().OfType<FloorNode>().ElementAt(CurrentFloorNumber.Value + 1).DisplayedFloorNumber;
private readonly string _floorFilePath = @"res://src/map/dungeon/floors/";
public event Action<(Vector3 Rotation, Vector3 Position)> SpawnPointCreated;