Skip to content

Commit

Permalink
Unhardcode string from 1810e44 commit (#585)
Browse files Browse the repository at this point in the history
* Unhardcode string from 1810e44 commit

* Fix text and add new lines

Co-authored-by: Metadorius <[email protected]>

* Fix \n

Co-authored-by: Metadorius <[email protected]>

---------

Co-authored-by: Metadorius <[email protected]>
  • Loading branch information
MahBoiDeveloper and Metadorius authored Nov 25, 2024
1 parent 1810e44 commit a5ee316
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DXMainClient/DXGUI/Multiplayer/GameLobby/GameLobbyBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ public override void Initialize()
}
catch (Exception ex)
{
throw new Exception($"It seems the modders have not migrated the 'Tiberian Sun Client v6 Changes'. Please refer to https://github.com/CnCNet/xna-cncnet-client/blob/122b2de962afc404e203290d0618363d83c4264a/Docs/Migration-INI.md for more details. {ex.Message}");
throw new Exception(string.Format("It seems the client configuration was not migrated to accomodate for the 'Tiberian Sun Client v6 Changes'.\n\nPlease refer to {0} for more details.\n\nError message: {1}".L10N("Client:Main:NotMigratedClientException"),
"https://github.com/CnCNet/xna-cncnet-client/blob/122b2de962afc404e203290d0618363d83c4264a/Docs/Migration-INI.md",
ex.Message));
}

btnLeaveGame = FindChild<XNAClientButton>(nameof(btnLeaveGame));
Expand Down

0 comments on commit a5ee316

Please sign in to comment.