v0.6.3a: fixed rare crashes caused by ambitious imp quest reward
This commit is contained in:
parent
8d09f897a5
commit
27e0f5843b
|
@ -71,6 +71,7 @@ public class WndImp extends Window {
|
||||||
hide();
|
hide();
|
||||||
|
|
||||||
tokens.detachAll( Dungeon.hero.belongings.backpack );
|
tokens.detachAll( Dungeon.hero.belongings.backpack );
|
||||||
|
if (reward == null) return;
|
||||||
|
|
||||||
reward.identify();
|
reward.identify();
|
||||||
if (reward.doPickUp( Dungeon.hero )) {
|
if (reward.doPickUp( Dungeon.hero )) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user