| changeset 867 | 02f309e10552 |
| parent 759 | c4ec4cfefdeb |
| child 990 | ef8e2a98af03 |
1.1 --- a/core/ConVarManager.cpp Wed May 30 04:57:28 2007 +0000 1.2 +++ b/core/ConVarManager.cpp Thu May 31 21:35:33 2007 +0000 1.3 @@ -415,6 +415,9 @@ 1.4 { 1.5 pConVarList = new ConVarList(); 1.6 plugin->SetProperty("ConVarList", pConVarList); 1.7 + } else if (pConVarList->find(pConVar) != pConVarList->end()) { 1.8 + /* If convar is already in list, then don't add it */ 1.9 + return; 1.10 } 1.11 1.12 /* Insert convar into list which is sorted alphabetically */