Skip to content

Commit

Permalink
Fix export when experimental game support is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyOldName3 committed Sep 25, 2023
1 parent 7f45328 commit bf05ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenMWExport.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def icon(self):
return QIcon("plugins/openmw.ico")

def display(self):
game = self.__organizer.managedGame()
if self.__organizer.pluginSetting(OpenMWExportPlugin.__NAME, OpenMWExportPlugin.__SHOW_FOR_EXPERIMENTAL_GAMES):
game = self.__organizer.managedGame()
if game.gameName() != "Morrowind":
QMessageBox.warning(self._parentWidget(), OpenMWExportPlugin.tr("Experimental game"), OpenMWExportPlugin.tr("(At least when this plugin is being written) OpenMW only fully supports game data designed for the Morrowind engine. The game being managed is not Morrowind, so do not expect the game to be fully playable. If you think you know better than this message, update this plugin."))
# Give the user the opportunity to abort
Expand Down

0 comments on commit bf05ad5

Please sign in to comment.