Page 1 of 1

Game crashing if it can't compute dialog size

Posted: Wed Aug 24, 2016 1:48 pm
by Zireael
If I use

Code: Select all

 engine.ui.Dialog.init(self, "whatever", 1, 1)
and then the game for some reason can't compute the desired sizes, it crashes completely with nothing in the log.

Such a case needs to be handled better by the engine.