This commit is contained in:
Pal
2025-10-08 00:59:25 -07:00
2 changed files with 3 additions and 1 deletions

View File

@@ -19,7 +19,8 @@ public partial class CorridorRoom : Node3D
public void Setup()
{
_room.BodyEntered += Room_BodyEntered;
if (_room != null)
_room.BodyEntered += Room_BodyEntered;
}
private void Room_BodyEntered(Node3D body)