diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..7dc3e0b
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,13 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Rider ignored files
+/contentModel.xml
+/.idea.fps_project_1.iml
+/modules.xml
+/projectSettingsUpdater.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..df87cf9
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/.idea/indexLayout.xml b/.idea/indexLayout.xml
new file mode 100644
index 0000000..7b08163
--- /dev/null
+++ b/.idea/indexLayout.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/GdSdk_Master.xml b/.idea/libraries/GdSdk_Master.xml
new file mode 100644
index 0000000..8506a8b
--- /dev/null
+++ b/.idea/libraries/GdSdk_Master.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/scripts/switch_door.gd b/scripts/switch_door.gd
index afc639d..2ff1266 100644
--- a/scripts/switch_door.gd
+++ b/scripts/switch_door.gd
@@ -7,8 +7,9 @@ var door_open : bool
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
add_to_group("door")
+ #check initial door state
door_open = door_open_start
-
+ #match initial door state
if door_open:
open()
else: