Don't allow non-servers to receive PT_RESYNCHGET

This commit is contained in:
Monster Iestyn 2017-05-23 16:34:56 +01:00
parent ff1cc07a1d
commit 0b0b738a6f

View file

@ -3609,6 +3609,8 @@ FILESTAMP
{ {
// -------------------------------------------- SERVER RECEIVE ---------- // -------------------------------------------- SERVER RECEIVE ----------
case PT_RESYNCHGET: case PT_RESYNCHGET:
if (client)
break;
SV_AcknowledgeResynchAck(netconsole, netbuffer->u.resynchgot); SV_AcknowledgeResynchAck(netconsole, netbuffer->u.resynchgot);
break; break;
case PT_CLIENTCMD: case PT_CLIENTCMD: