Don't map rotate when hosting a party.
This commit is contained in:
parent
d400a1bd8e
commit
6187f47e30
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user