Actually play song on join
This commit is contained in:
parent
dff37687c0
commit
06aebc1f81
@ -133,8 +133,6 @@ void AOClient::pktLoadingDone(AreaData* area, int argc, QStringList argv, AOPack
|
|||||||
}
|
}
|
||||||
|
|
||||||
server->m_player_count++;
|
server->m_player_count++;
|
||||||
emit server->updatePlayerCount(server->m_player_count);
|
|
||||||
area->clientJoinedArea(-1, m_id);
|
|
||||||
m_joined = true;
|
m_joined = true;
|
||||||
server->updateCharsTaken(area);
|
server->updateCharsTaken(area);
|
||||||
|
|
||||||
@ -169,6 +167,8 @@ void AOClient::pktLoadingDone(AreaData* area, int argc, QStringList argv, AOPack
|
|||||||
sendPacket("TI", {QString::number(l_timer_id), "3"});
|
sendPacket("TI", {QString::number(l_timer_id), "3"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
emit server->updatePlayerCount(server->m_player_count);
|
||||||
|
area->clientJoinedArea(-1, m_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AOClient::pktCharPassword(AreaData* area, int argc, QStringList argv, AOPacket packet)
|
void AOClient::pktCharPassword(AreaData* area, int argc, QStringList argv, AOPacket packet)
|
||||||
|
Loading…
Reference in New Issue
Block a user