Update menus_ingame.cpp

This commit is contained in:
3edcxzaq1 2020-06-26 11:13:55 +02:00 committed by GitHub
parent 9d0bae9769
commit 4e7b534622
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,7 @@ void CMenus::RenderGame(CUIRect MainView)
{ {
DoButton_Menu(&s_DummyButton, Localize("Connecting dummy"), 1, &Button); DoButton_Menu(&s_DummyButton, Localize("Connecting dummy"), 1, &Button);
} }
else if(DoButton_Menu(&s_DummyButton, Localize(Client()->DummyConnected() ? "Disconnect Dummy" : "Connect Dummy"), 0, &Button)) else if(DoButton_Menu(&s_DummyButton, Client()->DummyConnected() ? Localize("Disconnect Dummy") : Localize("Connect Dummy"), 0, &Button))
{ {
if(!Client()->DummyConnected()) if(!Client()->DummyConnected())
{ {