From 771bfc1496e81baf12dfb8732595ff409cf0004c Mon Sep 17 00:00:00 2001 From: m Date: Thu, 7 Jul 2022 16:07:16 -0500 Subject: [PATCH] fix build --- src/client/component/bots.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/component/bots.cpp b/src/client/component/bots.cpp index 068410a9..3bb8382d 100644 --- a/src/client/component/bots.cpp +++ b/src/client/component/bots.cpp @@ -95,11 +95,11 @@ namespace bots } } } + + size_t bot_id = 0; const char* get_random_bot_name() { - static size_t bot_id = 0; - if (bot_names.empty()) { load_bot_data();