mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-23 09:02:38 +08:00
chore: Add "Timeout" as a reaction (#1837)
This commit is contained in:
@ -48,6 +48,14 @@ namespace big
|
||||
NETWORK::NETWORK_SESSION_KICK_PLAYER(player->id());
|
||||
});
|
||||
}
|
||||
|
||||
if (timeout)
|
||||
{
|
||||
player->block_net_events = true;
|
||||
player->block_clone_sync = true;
|
||||
player->block_clone_create = true;
|
||||
LOG(WARNING) << std::format("{} has been timed out", player->get_name());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user