get5
get5 copied to clipboard
Ensure correct MapNumber logic when restoring from backups with draws + add series clinch config parameter
This should fix https://github.com/splewis/get5/issues/817.
I also adjusted Get5_OnBackupRestore
to have the correct map and round number, indicating the match, map and round being restored to.
Tried to reduce use of Get5_GetMapNumber()
where it is not needed.
~~Totally untested at the moment~~ Edit: Tested, but https://github.com/splewis/get5/issues/822 needs to be fixed, otherwise last-round backups in a map don't work. Edit 2: I put the fix for that in this PR.
Last commit fixes https://github.com/splewis/get5/issues/728
Tested everything in here and it seems to work as expected. Tested clinch_series
and also tested that bo2 still works as expected.
Now also fixes https://github.com/splewis/get5/issues/213
Fixes https://github.com/splewis/get5/issues/190 now also.
I changed the translation logic to always inject the color around variables if applicable. This means we don't have to make sure different languages use the same colors. I also cleaned up some of the translations a bit, where I could.
Player names are now colored based on the side they are on, so for instance when PlayerName has requested a tactical pause.
is printed, PlayerName
will now be either yellow or blue, depending on the side the player is on.
Commands in translations (.ie. type !unpause to continue
) are now always colored green and have been changed to be injected variables as well.