aboutsummaryrefslogtreecommitdiff
path: root/packet_distribution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'packet_distribution.cpp')
-rw-r--r--packet_distribution.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/packet_distribution.cpp b/packet_distribution.cpp
index 0b7853e..d8517f3 100644
--- a/packet_distribution.cpp
+++ b/packet_distribution.cpp
@@ -305,6 +305,11 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
if (courtroom_constructed)
w_courtroom->handle_chatmessage(&p_packet->get_contents());
}
+ else if (header == "MC")
+ {
+ if (courtroom_constructed)
+ w_courtroom->handle_song(&p_packet->get_contents());
+ }
else if (header == "RT")
{
if (f_contents.size() < 1)