mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-22 13:33:35 +00:00
fix: Character access after deletion (#1348)
* assorted skill debug plus crash fix * removed uncleaned debug
This commit is contained in:
parent
42ffd00478
commit
c07c909a57
@ -60,6 +60,8 @@ void Player::SetSystemAddress(const SystemAddress& value) {
|
||||
}
|
||||
|
||||
void Player::SetRespawnPos(const NiPoint3 position) {
|
||||
if (!m_Character) return;
|
||||
|
||||
m_respawnPos = position;
|
||||
|
||||
m_Character->SetRespawnPoint(Game::zoneManager->GetZone()->GetWorldID(), position);
|
||||
|
Loading…
Reference in New Issue
Block a user