Skip to content

Commit

Permalink
Fix loading unsupported maps to Nadeo rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
GreepTheSheep committed Jan 14, 2023
1 parent 55814a0 commit 05f12a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Interface/Tabs/Map.as
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ class MapTab : Tab
MX::mapToLoad = m_map.TrackID;
}
#if TMNEXT && DEPENDENCY_NADEOSERVICES
if (Permissions::CreateAndUploadMap() && IsInServer()) {
if (SupportedModes.HasKey(m_map.MapType) && Permissions::CreateAndUploadMap() && IsInServer()) {
if (UI::GreenButton(Icons::Server + " Play Map on Nadeo-hosted Room")) {
TMNext::AddMapToServer_MapUid = m_map.TrackUID;
TMNext::AddMapToServer_MapMXId = m_map.TrackID;
Expand Down

0 comments on commit 05f12a3

Please sign in to comment.