1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-16 18:27:45 +00:00

Make sure to send Initialize on zone change

This commit is contained in:
Joshua Goins 2025-07-14 22:09:26 -04:00
parent 166e8024e0
commit 916f7e30e6

View file

@ -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
{
let config = get_config();