mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-05-20 20:18:19 +02:00
Fix User::_from_dict() not setting internal name and email.
This commit is contained in:
parent
7282cd782d
commit
86a06be2a3
@ -253,8 +253,9 @@ void User::_from_dict(const Dictionary &dict) {
|
||||
// This is the only way to properly preserve atomicity.
|
||||
|
||||
_user_id = dict["user_id"];
|
||||
_user_name = dict["user_name"];
|
||||
_email = dict["email"];
|
||||
// Use setters here these set other cached state too
|
||||
set_user_name(dict["user_name"]);
|
||||
set_email(dict["email"]);
|
||||
_rank = dict["rank"];
|
||||
_pre_salt = dict["pre_salt"];
|
||||
_post_salt = dict["post_salt"];
|
||||
|
Loading…
Reference in New Issue
Block a user