v0.6.2: action indicator now persists between floors (but not games)
This commit is contained in:
parent
17a15d2485
commit
d898e29fdb
|
@ -32,6 +32,7 @@ import com.shatteredpixel.shatteredpixeldungeon.effects.BannerSprites.Type;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.journal.Journal;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.ActionIndicator;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.Archs;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.ExitButton;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.Icons;
|
||||
|
@ -217,6 +218,7 @@ public class StartScene extends PixelScene {
|
|||
add( btnExit );
|
||||
|
||||
curClass = null;
|
||||
ActionIndicator.action = null;
|
||||
updateClass( HeroClass.values()[ShatteredPixelDungeon.lastClass()] );
|
||||
|
||||
fadeIn();
|
||||
|
|
|
@ -45,7 +45,6 @@ public class ActionIndicator extends Tag {
|
|||
public void destroy() {
|
||||
super.destroy();
|
||||
instance = null;
|
||||
action = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user