Improve logic

This commit is contained in:
Jackz 2022-07-26 22:24:37 -05:00
parent 6f96e6970b
commit 528ce00da8
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View file

@ -462,7 +462,9 @@ public Action Command_SetClientModel(int client, int args) {
int survivorId;
L4DModelId modelId;
bool isL4D1 = isL4D1Survivors && hForceSurvivorSet != null && hForceSurvivorSet.IntValue < 2;
bool isL4D1 = isL4D1Survivors;
if(hForceSurvivorSet != null && hForceSurvivorSet.IntValue > 0) isL4D1 = hForceSurvivorSet.IntValue == 1;
char s = CharToLower(arg1[0]);
if(s == 'b') {