Tested setup
This commit is contained in:
parent
747f1fed13
commit
e1e42e2fe0
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ macro_rules! handle_request {
|
||||||
tracing::debug!("logic: processing request {}", stringify!($($inner_package::)?[<$name Request>]));
|
tracing::debug!("logic: processing request {}", stringify!($($inner_package::)?[<$name Request>]));
|
||||||
|
|
||||||
let mut response = ::shorekeeper_protocol::$($inner_package::)?[<$name Response>]::default();
|
let mut response = ::shorekeeper_protocol::$($inner_package::)?[<$name Response>]::default();
|
||||||
[<on_ $name:snake _request>](player, request, &mut response);
|
[<on_ $($inner_package:snake _)? $name:snake _request>](player, request, &mut response);
|
||||||
|
|
||||||
player.respond(response, msg.get_rpc_id());
|
player.respond(response, msg.get_rpc_id());
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue