Moved the debug variable to the top and set it to false.

This commit is contained in:
Relintai 2023-09-22 15:40:22 +02:00
parent 22a2fc4fa5
commit 8e6db2ed8d

View File

@ -13,6 +13,8 @@ enum AuthType {
PLAINTEXT, # No SSL PLAINTEXT, # No SSL
} }
var debug : bool = false
export(String) var smtp_server : String = "" export(String) var smtp_server : String = ""
export(int) var smtp_server_port : int = 465 export(int) var smtp_server_port : int = 465
@ -362,7 +364,6 @@ func bracket(data):
func _on_Button_pressed() -> void: func _on_Button_pressed() -> void:
send_mail("", "TEST SUBJECT", "TEST MSG!") send_mail("", "TEST SUBJECT", "TEST MSG!")
var debug = true
func display(data): func display(data):
if debug == true: if debug == true:
print("debug: ",data) print("debug: ",data)