Fix scenario button saying there are no scenario installed even though there are the built-in ones

This commit is contained in:
2023-01-04 20:51:40 -05:00
parent e7ae84ee2a
commit 2e61c44307
2 changed files with 0 additions and 19 deletions

View File

@@ -1441,12 +1441,6 @@ public:
using namespace std::placeholders;
extern fs::path scenDir;
if(scen_headers.empty()) { // TODO: Arrange this to be a check before calling run()
cChoiceDlog err("no-scenarios");
err->getControl("path").setText(scenDir.string());
err.show();
return scen_header_type();
}
set_cursor(sword_curs);
me["cancel"].attachClickHandler(std::bind(&cChooseScenario::doCancel, this));