feat(core): allow to debug KickPlayer() (#1549)

This commit is contained in:
Francesco Borzì
2019-03-05 22:58:40 +01:00
committed by GitHub
parent e7ace60e59
commit 0758677578
19 changed files with 44 additions and 39 deletions

View File

@@ -3709,7 +3709,7 @@ void SafeUnitPointer::UnitDeleted()
if (ptr)
sLog->outMisc("SafeUnitPointer::UnitDeleted (A2)");
p->GetSession()->KickPlayer();
p->GetSession()->KickPlayer("Unit deleted");
}
}
else if (ptr)