mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-09 02:15:44 -04:00
couple small fixes
This commit is contained in:
@@ -788,7 +788,6 @@ u8 getAncientDocumentNum() {
|
||||
|
||||
void setAncientDocumentNum(u8 num) {
|
||||
g_skyCharacters = num;
|
||||
saveAncientDocumentNum();
|
||||
}
|
||||
|
||||
u8 getAreaKeyNum(int i_stageNo) {
|
||||
|
||||
@@ -481,6 +481,8 @@ ModResult buildPlayTab(ModContext* ctx, UiWindowHandle, UiElementHandle leftPane
|
||||
UiElementHandle rightPane, void*, ModError*)
|
||||
{
|
||||
std::filesystem::path seed_dir = paths::GetRandomizerSeedsPath();
|
||||
if (!std::filesystem::exists(seed_dir))
|
||||
std::filesystem::create_directory(seed_dir);
|
||||
|
||||
std::string help_rml = "";
|
||||
if (std::filesystem::is_empty(seed_dir)) {
|
||||
@@ -605,7 +607,7 @@ ModResult buildFileSelectGateMenu(dFile_select_c* fileSelect) {
|
||||
g_dialogSelectModeState = SelectReady;
|
||||
};
|
||||
|
||||
session::svc_mng.ui->window_push(session::svc_mng.mod_ctx, &desc, &g_file_select_window_ctx.window_handle);
|
||||
return session::svc_mng.ui->window_push(session::svc_mng.mod_ctx, &desc, &g_file_select_window_ctx.window_handle);
|
||||
}
|
||||
|
||||
} // namespace dusk::ui
|
||||
|
||||
Reference in New Issue
Block a user