"File "game/OtherStuff.rpy", line 341, in script
File "game/OtherStuff.rpy", line 341, in python
Exception: ui.interact called with non-empty widget/layer stack. Did you forget a ui.close() somewhere?"
My code is as follows.
$ ui.window()
$ ui.hbox()
$ renpy.imagemap('bgwhite.png', 'case.jpg', [(240,320,230,260,1), (590,610,702,709,2), (90,40,170,120,3), (970,990,930,990,4), (360,410,430,510,5)])
$ ui.close()
$ ui.close()
$ result = ui.interact()
I had thought i would only need two ui.close clauses, but putting more in doesn't help, even putting in enough that it should force an error doesn't change it. Are they in the wrong place?
Any help would be greatly appreciated
Dave