summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-11-26 18:57:42 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-11-26 18:57:42 +0100 |
commit | ac2a82ce6bbaeccdb0081bc637a5cbb13272efd9 (patch) | |
tree | d227e626208ce2e8a21523edbc399917e8b083c4 /src/shared/struct/shr_player.erl | |
parent | 9939f0f046198823857e316faaf08b267e7ec03d (diff) |
...
Diffstat (limited to 'src/shared/struct/shr_player.erl')
-rw-r--r-- | src/shared/struct/shr_player.erl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/shared/struct/shr_player.erl b/src/shared/struct/shr_player.erl index 5577615..056afaa 100644 --- a/src/shared/struct/shr_player.erl +++ b/src/shared/struct/shr_player.erl @@ -115,6 +115,7 @@ secure_value (Salt, Val) -> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -spec new (binary(), binary(), binary(), binary()) -> type(). new (ID, Username, Password, Email) -> + NoInvasion = shr_battle_summary:none(), Result = #player { @@ -126,7 +127,15 @@ new (ID, Username, Password, Email) -> last_active = 0, maps = [], campaigns = [], - invasions = [], + invasions = + [ + NoInvasion, + NoInvasion, + NoInvasion, + NoInvasion, + NoInvasion, + NoInvasion + ], events = [], inventory_id = <<"0">>, roster_id = <<"0">> |