summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/update.rpy10
1 files changed, 8 insertions, 2 deletions
diff --git a/game/update.rpy b/game/update.rpy
index a2f1aa4..40af6a6 100644
--- a/game/update.rpy
+++ b/game/update.rpy
@@ -312,8 +312,14 @@ label register:
call screen register_method
$ status_update(pc=85)
$ method = _return
- call screen register_input("Please insert your {b}email{/b}.")
- $ email=_return
+ $ email=""
+ while email == "":
+ call screen register_input("Please insert your {b}email{/b}.")
+ $ email=_return
+ if not "@" in email or not "." in email:
+ call screen notice(_("Please make sure you enter a valid email!"))
+ $ email=""
+
$ status_update(pc=90)
##########################################