From 8a86dc776a92cf867763206df4c15d28dd1d8df2 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 21 Sep 2021 15:57:31 -0400 Subject: [PATCH] v1.1.0: added missing code from ankh window fix --- .../shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index 9ae234ec2..624380403 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -1649,10 +1649,11 @@ public class Hero extends Char { //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 WndResurrect.instance = new Object(); + Ankh finalAnkh = ankh; Game.runOnRenderThread(new Callback() { @Override public void call() { - GameScene.show( new WndResurrect() ); + GameScene.show( new WndResurrect(finalAnkh) ); } });