Copy missing style string in shavit-replay + docs

This commit is contained in:
strafe 2018-05-03 12:35:32 +01:00
parent 3e558558b0
commit b51460fff3
2 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@
// Variables:
// {map} - current map.
// {style} - the style name.
// {styletag} - the style's tag. See "styletag" in "shavit-styles.cfg".
// {styletag} - the style's tag. See "clantag" in "shavit-styles.cfg".
// {time} - formatted time for the WR currently being played.
// {player} - the name of the player that holds the *record*, might be incorrect for replays from the beta version of bhoptimer.
// {track} - track that the bot replays. Translated from the server's defined language.

View File

@ -848,6 +848,7 @@ public void Shavit_OnStyleConfigLoaded(int styles)
for(int i = 0; i < styles; i++)
{
Shavit_GetStyleSettings(i, gA_StyleSettings[i]);
Shavit_GetStyleStrings(i, sClanTag, gS_StyleStrings[i][sClanTag], 128);
Shavit_GetStyleStrings(i, sStyleName, gS_StyleStrings[i][sStyleName], 128);
Shavit_GetStyleStrings(i, sShortName, gS_StyleStrings[i][sShortName], 128);
}