Commit 6f0a441
committed
gameplay: fix class limit bypass from selecting class to spawn after death
this adds a check to ForceRespawn to make sure that
the player indeed can choose this class
the bypass happens because while you are still dead,
you do not count against the class limit if you select
a new class to spawn as
so, two or more players can select the same class while
dead, putting the team over the limit
Ref: ValveSoftware/Source-1-Games#20841 parent 0f7c17b commit 6f0a441
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13893 | 13893 | | |
13894 | 13894 | | |
13895 | 13895 | | |
| 13896 | + | |
| 13897 | + | |
| 13898 | + | |
| 13899 | + | |
| 13900 | + | |
| 13901 | + | |
| 13902 | + | |
| 13903 | + | |
13896 | 13904 | | |
13897 | 13905 | | |
13898 | 13906 | | |
| |||
0 commit comments