Fix crash on world travel (#3180)
This commit is contained in:
parent
36754f20f8
commit
adac9cb68e
@ -364,7 +364,7 @@ void cPlayer::TickFreezeCode()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!GetClientHandle()->IsPlayerChunkSent())
|
if (!GetClientHandle()->IsPlayerChunkSent() || (!GetParentChunk()->IsValid()))
|
||||||
{
|
{
|
||||||
FreezeInternal(GetPosition(), false);
|
FreezeInternal(GetPosition(), false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user