mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-18 19:17:44 +00:00
Make sure to send Initialize on zone change
This commit is contained in:
parent
166e8024e0
commit
916f7e30e6
1 changed files with 13 additions and 0 deletions
|
@ -421,6 +421,19 @@ impl ZoneConnection {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// they send the initialize packet again for some reason
|
||||||
|
{
|
||||||
|
self.send_segment(PacketSegment {
|
||||||
|
segment_type: SegmentType::Initialize,
|
||||||
|
data: SegmentData::Initialize {
|
||||||
|
actor_id: self.player_data.actor_id,
|
||||||
|
timestamp: timestamp_secs(),
|
||||||
|
},
|
||||||
|
..Default::default()
|
||||||
|
})
|
||||||
|
.await;
|
||||||
|
}
|
||||||
|
|
||||||
// Init Zone
|
// Init Zone
|
||||||
{
|
{
|
||||||
let config = get_config();
|
let config = get_config();
|
||||||
|
|
Loading…
Add table
Reference in a new issue