summaryrefslogtreecommitdiff
path: root/scenes/introduction
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/introduction')
-rw-r--r--scenes/introduction/check_mail.gd2
-rw-r--r--scenes/introduction/check_mail.tscn1
2 files changed, 2 insertions, 1 deletions
diff --git a/scenes/introduction/check_mail.gd b/scenes/introduction/check_mail.gd
index 6d03cce..1ff4172 100644
--- a/scenes/introduction/check_mail.gd
+++ b/scenes/introduction/check_mail.gd
@@ -12,7 +12,7 @@ func login():
get_tree().change_scene("res://scenes/introduction/mail.tscn")
func check_pw():
- if passwordfield.text == correct:
+ if passwordfield.text == correct or Settings.difficulty == Settings.Difficulty.PEACEFUL:
login()
else:
if passwordfield.text == "deeper" or trys == 5:
diff --git a/scenes/introduction/check_mail.tscn b/scenes/introduction/check_mail.tscn
index 6f6c1e2..ee9f29c 100644
--- a/scenes/introduction/check_mail.tscn
+++ b/scenes/introduction/check_mail.tscn
@@ -107,6 +107,7 @@ text = "Too many trys. Password was reset to \"tom\""
__meta__ = {
"_edit_use_anchors_": false
}
+
[connection signal="text_changed" from="password" to="." method="_on_password_text_changed"]
[connection signal="text_entered" from="password" to="." method="_on_password_text_entered"]
[connection signal="on_click" from="Log in" to="." method="_on_Log_in_on_click"]