Game crashing if it can't compute dialog size

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Zireael
Archmage
Posts: 449
Joined: Tue Jun 18, 2013 7:24 pm

Game crashing if it can't compute dialog size

#1 Post 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.

Post Reply