Don't map rotate when hosting a party.

This commit is contained in:
momo5502 2015-12-30 00:27:25 +01:00
parent d400a1bd8e
commit 6187f47e30

View File

@ -31,6 +31,12 @@ namespace Components
void Dedicated::MapRotate() void Dedicated::MapRotate()
{ {
if (Dvar::Var("party_host").Get<bool>())
{
Logger::Print("Not performing map rotation as we are hosting a party!\n");
return;
}
Logger::Print("Rotating map...\n"); Logger::Print("Rotating map...\n");
// if nothing, just restart // if nothing, just restart