1
0
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:
Jbleezy
2022-01-22 11:48:47 -08:00
parent 0065a91484
commit 281d8eafe2

View File

@ -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;
} }