mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Fix map pings causing teammates to disconnect
This commit is contained in:
@@ -658,7 +658,7 @@ impl <L: super::CustomGameLogic> GenericGamemodeEngine<L> {
|
||||
if (*id as i32) != ping.sender && (conn.descriptor.team as i32) == ping.team_id {
|
||||
crate::events::log_lnl_send_failure(conn.connection.rlnl().send_data(
|
||||
&ping,
|
||||
rlnl::event_code::NetworkEvent::PlayerQuitRequestComplete,
|
||||
rlnl::event_code::NetworkEvent::MapPingEvent,
|
||||
literustlib::packet::Property::ReliableOrdered,
|
||||
&conn.connection.connection
|
||||
).await);
|
||||
|
||||
Reference in New Issue
Block a user