balance fix sponsored by exexexe ex

pull/2/head
Lan 5 years ago
parent 6ae58b25b5
commit fc0948f74e
  1. 2
      Kehyeedra3/Commands.cs

@ -434,7 +434,7 @@ namespace Kehyeedra3
using (var Database = new ApplicationDbContextFactory().CreateDbContext())
{
user = Database.Users.FirstOrDefault(x => x.Id == otherUser.Id);
user = Database.Users.FirstOrDefault(x => x.Id == (otherUser == null ? Context.User.Id : otherUser.Id));
buser = Database.Users.FirstOrDefault(x => x.Id == 0);
suser = Database.Users.FirstOrDefault(x => x.Id == 1);
}

Loading…
Cancel
Save