stop setdvar spam

This commit is contained in:
INeedBots 2020-12-03 20:46:02 -06:00
parent fcf091988f
commit 864890640c

View File

@ -685,10 +685,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;