1
0

Fix crash on world travel (#3180)

This commit is contained in:
LogicParrot 2016-05-03 10:05:48 +03:00
parent 36754f20f8
commit adac9cb68e

View File

@ -364,7 +364,7 @@ void cPlayer::TickFreezeCode()
}
else
{
if (!GetClientHandle()->IsPlayerChunkSent())
if (!GetClientHandle()->IsPlayerChunkSent() || (!GetParentChunk()->IsValid()))
{
FreezeInternal(GetPosition(), false);
}