Stop setdvar spam

This commit is contained in:
INeedBots 2020-12-03 20:51:58 -06:00
parent 9acc548a70
commit 12cf95d563

View File

@ -582,10 +582,11 @@ addBots()
wait 1.5; wait 1.5;
botsToAdd = GetDvarInt("bots_manage_add"); botsToAdd = GetDvarInt("bots_manage_add");
SetDvar("bots_manage_add", 0);
if(botsToAdd > 0) if(botsToAdd > 0)
{ {
SetDvar("bots_manage_add", 0);
if(botsToAdd > 64) if(botsToAdd > 64)
botsToAdd = 64; botsToAdd = 64;