diff --git a/src/server/gamerules_multiplayer.qc b/src/server/gamerules_multiplayer.qc index 6240c8c..38f6ef0 100644 --- a/src/server/gamerules_multiplayer.qc +++ b/src/server/gamerules_multiplayer.qc @@ -454,6 +454,16 @@ CSMultiplayerRules::RestartRound(int iWipe) for (entity eFind = world; (eFind = find(eFind, ::classname, "remove_me"));) { remove(eFind); } + for (entity eFind = world; (eFind = find(eFind, ::classname, "tempdecal"));) { + decal dec = (decal)eFind; + dec.m_strTexture = ""; + dec.SendFlags = -1; + } + + WriteByte(MSG_MULTICAST, SVC_CGAMEPACKET); + WriteByte(MSG_MULTICAST, EV_CLEARDECALS); + msg_entity = world; + multicast([0,0,0], MULTICAST_ALL); // Select a random Terrorist for the bomb, if needed if (g_cs_bombzones > 0) {