Ludeon Forums

RimWorld => Mods => Help => Topic started by: Nightinggale on December 01, 2017, 11:02:20 PM

Title: How do I open a Dialog_MessageBox in main menu
Post by: Nightinggale on December 01, 2017, 11:02:20 PM
I'm have made a PatchOperation, which should open a Dialog_MessageBox if it fails. Right now it calls ModsConfig.RestartFromChangedMods() for testing purposes, but eventually I plan to make my own.

The problem seems to be that it requires Find.WindowStack before the GUI is started and it results in a black screen I have to force quit.

This leaves me with two problems:
While I planned to do this without Harmony, I can use it if I have to.