From 80c176b48afb482d03ef181719394db5c18a99cf Mon Sep 17 00:00:00 2001 From: INeedBots Date: Sun, 20 Dec 2020 22:13:00 -0600 Subject: [PATCH] Fix --- main_shared/maps/mp/bots/_bot_utility.gsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main_shared/maps/mp/bots/_bot_utility.gsc b/main_shared/maps/mp/bots/_bot_utility.gsc index 0fcd3c0..a489184 100644 --- a/main_shared/maps/mp/bots/_bot_utility.gsc +++ b/main_shared/maps/mp/bots/_bot_utility.gsc @@ -712,6 +712,9 @@ GetHostPlayer() bot_wait_for_host() { host = undefined; + + while (!isDefined(level) || !isDefined(level.players)) + wait 0.05; for(i = 0; i < 100; i++) {