Disable Multiplayer Buttons On WASM

This commit is contained in:
TheBrokenRail
2023-08-05 04:01:10 -04:00
committed by iProgramInCpp
parent cc3310b556
commit af74761c97
3 changed files with 12 additions and 0 deletions

View File

@@ -40,7 +40,11 @@ void StartMenuScreen::_updateLicense()
{
m_optionsButton.m_bEnabled = true;
m_startButton.m_bEnabled = true;
#ifdef __EMSCRIPTEN__
m_joinButton.m_bEnabled = false;
#else
m_joinButton.m_bEnabled = true;
#endif
}
else
{