fix create package

This commit is contained in:
Andrei Yankovich 2018-08-16 10:48:39 +03:00
parent f6eae542db
commit af6e29f784

View File

@ -300,7 +300,7 @@ bool Sync::createPackage(Type type, package &pac, milliseconds time){
bool isbroadcaster = node->isBroadcaster();
if(type & TypePackage::t_sync && isbroadcaster && time > 0){
if(type & TypePackage::t_sync && isbroadcaster){
pac.playdata.seek = player->position() + SYNC_TIME;
pac.playdata.timeOn = ChronoTime::now(time) + SYNC_TIME;