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

Address "warning: this expression creates a reference which is immediately dereferenced by the compiler"

This commit is contained in:
The Dax 2025-07-04 10:26:43 -04:00 committed by Joshua Goins
parent 05f83459c1
commit 86c8d58fe3

View file

@ -865,7 +865,7 @@ async fn client_loop(
if let Some(event_script) =
state.event_scripts.get(event_id)
{
connection.event = Some(Event::new(*event_id, &event_script));
connection.event = Some(Event::new(*event_id, event_script));
connection
.event
.as_mut()