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

Address "warning: deref which would be done by auto-deref"

This commit is contained in:
The Dax 2025-07-04 10:25:23 -04:00 committed by Joshua Goins
parent 2d6c740829
commit 05f83459c1

View file

@ -881,7 +881,7 @@ async fn client_loop(
if should_cancel { if should_cancel {
// give control back to the player so they aren't stuck // give control back to the player so they aren't stuck
connection.event_finish(*event_id).await; connection.event_finish(*event_id).await;
connection.send_message(&*format!("Event {event_id} tried to start, but it doesn't have a script associated with it!")).await; connection.send_message(&format!("Event {event_id} tried to start, but it doesn't have a script associated with it!")).await;
} }
} }
ClientZoneIpcData::EventYieldHandler(handler) => { ClientZoneIpcData::EventYieldHandler(handler) => {