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:
parent
bb2cc9e0ec
commit
6561e63fd4
1 changed files with 1 additions and 0 deletions
|
@ -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 } => {
|
||||
|
|
Loading…
Add table
Reference in a new issue