[Client] Only send ID_PLAYER_CELL_LOAD when CharGen is over

pull/133/head
David Cernat 8 years ago
parent b5b5551fcd
commit 055376c8ee

@ -246,7 +246,8 @@ namespace MWWorld
// Added by tes3mp
//
// LocalPlayer has unloaded a cell, so send a packet with it
// LocalPlayer has unloaded a cell, so send a packet with it, but only if CharGen is over
if (mwmp::Main::get().getLocalPlayer()->hasFinishedCharGen())
mwmp::Main::get().getLocalPlayer()->sendCellUnload(*(*iter)->getCell());
}
@ -315,7 +316,8 @@ namespace MWWorld
// Added by tes3mp
//
// LocalPlayer has loaded a cell, so send a packet with it
// LocalPlayer has loaded a cell, so send a packet with it, but only if CharGen is over
if (mwmp::Main::get().getLocalPlayer()->hasFinishedCharGen())
mwmp::Main::get().getLocalPlayer()->sendCellLoad(*cell->getCell());
}

Loading…
Cancel
Save