1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00

Send a message in-game when trying to start a non-scripted event

This should make it more obvious than in the usually spammy server log.
This commit is contained in:
Joshua Goins 2025-06-21 12:26:58 -04:00
parent bb2cc9e0ec
commit 6561e63fd4

View file

@ -778,6 +778,7 @@ async fn client_loop(
if should_cancel {
// give control back to the player so they aren't stuck
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;
}
}
ClientZoneIpcData::EventHandlerReturn { handler_id, scene, error_code, num_results, results } => {