fix: Fixes guild deserialization (#867)

* Fixes guilds being marked as deleted because the leader hasn't been deserialized yet.
* Fixes LastSerialization issue.
This commit is contained in:
Kamron Batman 2021-11-28 20:54:16 -08:00 • committed by GitHub
parent 1ac803e778
commit aff2f15a6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 20 deletions

View file

@ -790,9 +790,7 @@ namespace Server.Spells
return false;
}
public bool CheckBSequence(Mobile target) => CheckBSequence(target, false);
public bool CheckBSequence(Mobile target, bool allowDead)
public bool CheckBSequence(Mobile target, bool allowDead = false)
{
if (!target.Alive && !allowDead)
{