Commit 9dc89bf
committed
Prevent too many defenders on same PW planet, fix #3026
A race condition where two players join simultaneously can cause the
count to skip past TeamSize, making the == check miss and leaving the
challenge open for minutes until the timer fires. With >= the challenge
triggers immediately even if the count overshoots.1 parent d5184bb commit 9dc89bf
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| |||
0 commit comments