mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 23:57:59 -05:00
Use isDedicated function
This commit is contained in:
@ -1757,7 +1757,7 @@ remove_status_icons_on_end_game()
|
|||||||
|
|
||||||
random_map_rotation()
|
random_map_rotation()
|
||||||
{
|
{
|
||||||
if(getDvar("sv_hostname") == "Private Match")
|
if(!isDedicated())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -1834,7 +1834,7 @@ random_map_rotation()
|
|||||||
|
|
||||||
spawn_bots(num)
|
spawn_bots(num)
|
||||||
{
|
{
|
||||||
if(getDvar("sv_hostname") != "Private Match")
|
if(isDedicated())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user