Profile creating/loading in menu adjustments
This commit is contained in:
parent
cf4687350d
commit
ff19560f0b
4 changed files with 36 additions and 4 deletions
|
|
@ -69,6 +69,8 @@ static func profile_delete(profile_name : String) -> void:
|
|||
static func profile_legit_check(profile_meta : Dictionary) -> Dictionary:
|
||||
var old_hash = []
|
||||
var new_hash = []
|
||||
if profile_meta == {}:
|
||||
return {}
|
||||
for key in profile_meta['meta']:
|
||||
old_hash.append(profile_meta['hash'][key])
|
||||
new_hash.append((str(profile_meta['meta'][key]) + salt).sha256_buffer().hex_encode())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue