1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-06 02:05:30 +01:00

Restrict minimum state for ClientInterface::sendToAll

This commit is contained in:
sfan5
2025-05-27 11:55:18 +02:00
parent 9ce9d7f433
commit b580c66b61
3 changed files with 15 additions and 26 deletions

View File

@@ -458,7 +458,7 @@ public:
void sendCustom(session_t peer_id, u8 channel, NetworkPacket *pkt, bool reliable);
/* send to all clients */
void sendToAll(NetworkPacket *pkt);
void sendToAll(NetworkPacket *pkt, ClientState state_min = CS_Active);
/* delete a client */
void DeleteClient(session_t peer_id);