Added a proper disconnection message by hacking the config

This commit is contained in:
Kayne Ruse
2014-09-10 17:35:12 +10:00
parent ad2c65dc67
commit 411687b41c
4 changed files with 11 additions and 4 deletions
+3 -1
View File
@@ -90,8 +90,10 @@ void CleanUp::Update() {
}
void CleanUp::Render(SDL_Surface* const screen) {
ConfigUtility& config = ConfigUtility::GetSingleton();
backButton.DrawTo(screen);
font.DrawStringTo("You have been disconnected.", screen, 50, 30);
font.DrawStringTo(config["client.disconnectMessage"], screen, 50, 30);
}
//-------------------------