Commit 2661419
committed
Split gamemode winner into base group
Parse the winning gamemode string into a base group and extra subgroup before processing. The code now calls SplitGamemodeString and copies the base group into g_sVoteGameMode, and uses baseGroup for MMC_FindGameModeIndex, HasSubGroups checks, and StartCooldown calls. This prevents subgroup suffixes from interfering with game-mode lookups and vote/cooldown logic.1 parent 3a77a67 commit 2661419
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1377 | 1377 | | |
1378 | 1378 | | |
1379 | 1379 | | |
1380 | | - | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
1381 | 1385 | | |
1382 | 1386 | | |
1383 | 1387 | | |
1384 | 1388 | | |
1385 | 1389 | | |
1386 | | - | |
| 1390 | + | |
1387 | 1391 | | |
1388 | 1392 | | |
1389 | 1393 | | |
| |||
1440 | 1444 | | |
1441 | 1445 | | |
1442 | 1446 | | |
1443 | | - | |
| 1447 | + | |
1444 | 1448 | | |
1445 | 1449 | | |
1446 | | - | |
| 1450 | + | |
1447 | 1451 | | |
1448 | 1452 | | |
1449 | 1453 | | |
1450 | 1454 | | |
1451 | | - | |
| 1455 | + | |
1452 | 1456 | | |
1453 | 1457 | | |
1454 | 1458 | | |
| |||
0 commit comments