diff --git a/modules/game_bot/functions/server.lua b/modules/game_bot/functions/server.lua index f620fc566..28c596791 100644 --- a/modules/game_bot/functions/server.lua +++ b/modules/game_bot/functions/server.lua @@ -70,6 +70,7 @@ context.BotServer.terminate = function() if context.BotServer._websocket then context.BotServer._websocket:close() context.BotServer._websocket = nil + context.BotServer._callbacks = {} end end