error typo

This commit is contained in:
deed 2019-12-17 10:01:10 +01:00
parent f07103d05e
commit 6e5c854107

View file

@ -37,7 +37,7 @@ func do_request_salt(username, password):
func _on_HTTPSalt_request_completed(result, response_code, headers, body): func _on_HTTPSalt_request_completed(result, response_code, headers, body):
if response_code != 200 || ProjectSettings.get_setting("kaghanat/debug_mode"): if response_code != 200 || ProjectSettings.get_setting("khaganat/debug_mode"):
emit_signal( "login_button_pressed" ) emit_signal( "login_button_pressed" )
else: else:
var text = str2var(body.get_string_from_utf8()) var text = str2var(body.get_string_from_utf8())
@ -68,7 +68,7 @@ func do_request(username, password):
func _on_HTTPRequest_request_completed(result, response_code, headers, body): func _on_HTTPRequest_request_completed(result, response_code, headers, body):
if response_code != 200 || ProjectSettings.get_setting("kaghanat/debug_mode"): if response_code != 200 || ProjectSettings.get_setting("khaganat/debug_mode"):
emit_signal( "login_button_pressed" ) emit_signal( "login_button_pressed" )
else: else:
var text = str2var(body.get_string_from_utf8()) var text = str2var(body.get_string_from_utf8())