🐛Make the FightWorld reset when sleeping in the bed

This commit is contained in:
jonathan
2025-11-25 18:43:48 +01:00
parent 3c370e30a0
commit 3f4dfccbc6
4 changed files with 26 additions and 4 deletions
+1 -2
View File
@@ -72,7 +72,6 @@ public partial class FightWorld : Node
public override void _EnterTree()
{
Instance = this;
MyEnterTree();
}
#endregion
@@ -82,7 +81,7 @@ public partial class FightWorld : Node
public FightHappeningData? fightHappeningData = null;
public AllyFighters allyFighters = new();
public void MyEnterTree()
public void ResetFightWorld()
{
Generate();
currentRoom = world!.rooms[0];