mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-22 23:26:14 -08:00
local playing bugfixes
This commit is contained in:
@@ -36,9 +36,7 @@ void Server_ChatChannel::say(Server_ProtocolHandler *client, const QString &s)
|
||||
|
||||
void Server_ChatChannel::sendChatEvent(ChatEvent *event)
|
||||
{
|
||||
bool mayDelete = true;
|
||||
for (int i = 0; i < size(); ++i)
|
||||
mayDelete = at(i)->sendProtocolItem(event, false);
|
||||
if (mayDelete)
|
||||
delete event;
|
||||
at(i)->sendProtocolItem(event, false);
|
||||
delete event;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user