v1.1.0: added missing code from ankh window fix

This commit is contained in:
Evan Debenham 2021-09-21 15:57:31 -04:00
parent c7eb588e95
commit 8a86dc776a

View File

@ -1649,10 +1649,11 @@ public class Hero extends Char {
//delete the run or submit it to rankings, because a WndResurrect is about to exist //delete the run or submit it to rankings, because a WndResurrect is about to exist
//this is needed because the actual creation of the window is delayed here //this is needed because the actual creation of the window is delayed here
WndResurrect.instance = new Object(); WndResurrect.instance = new Object();
Ankh finalAnkh = ankh;
Game.runOnRenderThread(new Callback() { Game.runOnRenderThread(new Callback() {
@Override @Override
public void call() { public void call() {
GameScene.show( new WndResurrect() ); GameScene.show( new WndResurrect(finalAnkh) );
} }
}); });