mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-23 04:57:46 +00:00
Only send the welcome server message on initial login, not for every zone change
This commit is contained in:
parent
a72199e5af
commit
b1b0d9ac9f
1 changed files with 5 additions and 5 deletions
|
@ -252,11 +252,6 @@ async fn main() {
|
|||
}
|
||||
|
||||
connection.change_zone(ZONE_ID).await;
|
||||
}
|
||||
IPCStructData::FinishLoading { .. } => {
|
||||
tracing::info!(
|
||||
"Client has finished loading... spawning in!"
|
||||
);
|
||||
|
||||
// send welcome message
|
||||
{
|
||||
|
@ -278,6 +273,11 @@ async fn main() {
|
|||
})
|
||||
.await;
|
||||
}
|
||||
}
|
||||
IPCStructData::FinishLoading { .. } => {
|
||||
tracing::info!(
|
||||
"Client has finished loading... spawning in!"
|
||||
);
|
||||
|
||||
// send player spawn
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue