Skip to content

Commit 97ad770

Browse files
committed
Merge branch 'master' of https://github.com/ZeroK-RTS/Zero-K-Infrastructure into whr
2 parents 9a475cc + 8a514b1 commit 97ad770

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Shared/LobbyClient/Protocol/Messages.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ public class Register
150150

151151
public string SteamAuthToken { get; set; }
152152

153+
public string Email { get; set; }
154+
153155
public long UserID { get; set; }
154156
}
155157

Zero-K.info/Views/Maps/Detail.cshtml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
<a href='/Resources/@(m.HeightmapName)' class="">
3030
<img src='/Resources/@(m.HeightmapName)' style='width:@(size.Width)px; height:@(size.Height)px' class='js_zoom' />
3131
</a>
32-
<a href='/Resources/@(m.MetalmapName)' class="">
33-
<img src='/Resources/@(m.MetalmapName)' style='width:@(size.Width)px; height:@(size.Height)px' class='js_zoom' />
34-
</a>
3532
</div>
3633
<h2>@m.InternalName
3734
@if (m.MapSupportLevel >= MapSupportLevel.MatchMaker) {

ZkLobbyServer/LoginChecker.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ public async Task<RegisterResponse> DoRegister(Register register, string ip)
179179
acc.SetPasswordHashed(register.PasswordHash);
180180
acc.SetName(register.Name);
181181
acc.SetAvatar();
182+
acc.Email = register.Email;
182183
if (info != null)
183184
{
184185
var existingBySteam = db.Accounts.FirstOrDefault(x => x.SteamID == info.steamid);

0 commit comments

Comments
 (0)