1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

more alias changes :(

fix flag penalty coming from wrong user
This commit is contained in:
RaidMax
2019-01-02 18:32:39 -06:00
parent 5a1525835a
commit da3259cb36
7 changed files with 144 additions and 167 deletions

View File

@ -454,7 +454,7 @@ namespace SharedLibraryCore.Database.Models
public async Task<bool> OnJoin(int? ipAddress)
{
CurrentServer.Logger.WriteDebug($"Start join for {this}::{ipAddress}::{Level.ToString()}");
IPAddress = ipAddress;
var loc = Utilities.CurrentLocalization.LocalizationIndex;
var autoKickClient = Utilities.IW4MAdminClient(CurrentServer);
@ -465,6 +465,7 @@ namespace SharedLibraryCore.Database.Models
}
OnConnect();
await CurrentServer.Manager.GetClientService().Update(this);
CurrentServer.Logger.WriteDebug($"OnConnect finished for {this}");