fix javascript libraries not being loaded because the stupid CDN change. MICROSOFT, IF YOU'RE LISTENING, FIX YOUR INTEGRATION WITH CDNJS THANK YOU

force demo record and increase max demos saved for IW4x
fix issue with disconnect on a not fully connected client
This commit is contained in:
RaidMax
2019-12-27 20:37:50 -06:00
parent 82381457df
commit 2b26b9a707
6 changed files with 23 additions and 8 deletions

View File

@ -406,6 +406,13 @@ namespace SharedLibraryCore.Services
public async Task<EFClient> Update(EFClient temporalClient)
{
if (temporalClient.ClientId < 1)
{
temporalClient.CurrentServer?.Logger.WriteDebug($"[update] {temporalClient} needs to be updated but they do not have a valid client id, ignoring..");
// note: we never do anything with the result of this so we can safely return null
return null;
}
using (var context = new DatabaseContext())
{
// grab the context version of the entity